Adding exception handling
diff --git a/src/profileeditor.h b/src/profileeditor.h
index 196a263..92ceaeb 100644
--- a/src/profileeditor.h
+++ b/src/profileeditor.h
@@ -31,6 +31,10 @@
QWidget *parent = 0);
~ProfileEditor();
+
+ inline void
+ setCurrentIdentity(const ndn::Name& name)
+ { m_currentIdentity = name; }
private slots:
void
@@ -50,7 +54,6 @@
Ui::ProfileEditor *ui;
QSqlTableModel* m_tableModel;
ndn::Ptr<ContactManager> m_contactManager;
- ndn::Name m_defaultIdentity;
ndn::Name m_currentIdentity;
};