api-changes: Use ndn-cpp-dev
Change-Id: I4540e601106598d51601e59e5fe9524a9080a572
diff --git a/src/profileeditor.cpp b/src/profileeditor.cpp
index 9d0d844..17931d0 100644
--- a/src/profileeditor.cpp
+++ b/src/profileeditor.cpp
@@ -20,7 +20,7 @@
using namespace ndn;
using namespace std;
-using namespace ndn::ptr_lib;
+using namespace chronos;
INIT_LOGGER("ProfileEditor");
@@ -84,13 +84,6 @@
void
ProfileEditor::onOkClicked()
{
- Name defaultCertName = m_keyChain->getDefaultCertificateNameForIdentity(m_currentIdentity);
- if(defaultCertName.size() == 0)
- {
- emit noKeyOrCert(QString::fromStdString("Corresponding certificate is missing!\nHave you installed the certificate?"));
- return;
- }
-
m_tableModel->submitAll();
m_contactManager->updateProfileData(m_currentIdentity);
this->hide();