fix error when compiling without ssl
authorDaniel Albers <daniel@lbers.com>
Tue, 1 Sep 2009 07:58:01 +0000 (09:58 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 1 Sep 2009 08:14:09 +0000 (10:14 +0200)
src/common/identity.cpp

index 728cff1..275afcc 100644 (file)
@@ -315,4 +315,6 @@ QDataStream &operator>>(QDataStream &in, Identity &id) {
   return in;
 }
 
+#ifdef HAVE_SSL
 INIT_SYNCABLE_OBJECT(CertManager)
+#endif // HAVE_SSL