projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix core crash
[quassel.git]
/
src
/
core
/
coreidentity.cpp
diff --git
a/src/core/coreidentity.cpp
b/src/core/coreidentity.cpp
index
a82ef95
..
fef7522
100644
(file)
--- a/
src/core/coreidentity.cpp
+++ b/
src/core/coreidentity.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8
by the Quassel Project *
+ * Copyright (C) 2005-0
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-22,6
+22,7
@@
#include "signalproxy.h"
#include "signalproxy.h"
+INIT_SYNCABLE_OBJECT(CoreIdentity)
CoreIdentity::CoreIdentity(IdentityId id, QObject *parent)
: Identity(id, parent)
#ifdef HAVE_SSL
CoreIdentity::CoreIdentity(IdentityId id, QObject *parent)
: Identity(id, parent)
#ifdef HAVE_SSL
@@
-30,6
+31,7
@@
CoreIdentity::CoreIdentity(IdentityId id, QObject *parent)
{
#ifdef HAVE_SSL
connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
{
#ifdef HAVE_SSL
connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
+ connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated()));
#endif
}
#endif
}
@@
-41,6
+43,7
@@
CoreIdentity::CoreIdentity(const Identity &other, QObject *parent)
{
#ifdef HAVE_SSL
connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
{
#ifdef HAVE_SSL
connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
+ connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated()));
#endif
}
#endif
}
@@
-54,6
+57,7
@@
CoreIdentity::CoreIdentity(const CoreIdentity &other, QObject *parent)
{
#ifdef HAVE_SSL
connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
{
#ifdef HAVE_SSL
connect(this, SIGNAL(idSet(IdentityId)), &_certManager, SLOT(setId(IdentityId)));
+ connect(&_certManager, SIGNAL(updated()), this, SIGNAL(updated()));
#endif
}
#endif
}
@@
-90,6
+94,7
@@
CoreIdentity &CoreIdentity::operator=(const CoreIdentity &identity) {
// ========================================
// CoreCertManager
// ========================================
// ========================================
// CoreCertManager
// ========================================
+INIT_SYNCABLE_OBJECT(CoreCertManager)
CoreCertManager::CoreCertManager(CoreIdentity &identity)
: CertManager(identity.id()),
identity(identity)
CoreCertManager::CoreCertManager(CoreIdentity &identity)
: CertManager(identity.id()),
identity(identity)