projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SignalProxy now only allows syncing for classes derived from the new
[quassel.git]
/
src
/
core
/
coresession.cpp
diff --git
a/src/core/coresession.cpp
b/src/core/coresession.cpp
index
cd75f66
..
92eeafe
100644
(file)
--- a/
src/core/coresession.cpp
+++ b/
src/core/coresession.cpp
@@
-50,7
+50,8
@@
CoreSession::CoreSession(UserId uid, Storage *_storage, QObject *parent)
foreach(IdentityId id, s.identityIds()) {
Identity *i = new Identity(s.identity(id), this);
if(!i->isValid()) {
foreach(IdentityId id, s.identityIds()) {
Identity *i = new Identity(s.identity(id), this);
if(!i->isValid()) {
- qDebug() << QString("Invalid identity!");
+ qDebug() << QString("Invalid identity! Removing...");
+ s.removeIdentity(id);
delete i;
continue;
}
delete i;
continue;
}