properly making identity cert and key persistent
authorMarcus Eggenberger <egs@quassel-irc.org>
Sat, 7 Mar 2009 18:43:23 +0000 (19:43 +0100)
committerMarcus Eggenberger <egs@quassel-irc.org>
Sun, 8 Mar 2009 13:37:19 +0000 (14:37 +0100)
src/core/coreidentity.cpp

index a2cf756..acba205 100644 (file)
@@ -30,6 +30,7 @@ CoreIdentity::CoreIdentity(IdentityId id, QObject *parent)
 {
 #ifdef HAVE_SSL
   connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
+  connect(&_certManager, SIGNAL(updated(const QVariantMap &)), this, SIGNAL(updated(const QVariantMap &)));
 #endif
 }
 
@@ -41,6 +42,7 @@ CoreIdentity::CoreIdentity(const Identity &other, QObject *parent)
 {
 #ifdef HAVE_SSL
   connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
+  connect(&_certManager, SIGNAL(updated(const QVariantMap &)), this, SIGNAL(updated(const QVariantMap &)));
 #endif
 }
 
@@ -54,6 +56,7 @@ CoreIdentity::CoreIdentity(const CoreIdentity &other, QObject *parent)
 {
 #ifdef HAVE_SSL
   connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
+  connect(&_certManager, SIGNAL(updated(const QVariantMap &)), this, SIGNAL(updated(const QVariantMap &)));
 #endif
 }