projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2d19986
)
fixed a bug in the SignalProxy
author
Marcus Eggenberger
<egs@quassel-irc.org>
Thu, 31 Jan 2008 23:57:39 +0000
(23:57 +0000)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Thu, 31 Jan 2008 23:57:39 +0000
(23:57 +0000)
src/common/signalproxy.cpp
patch
|
blob
|
history
diff --git
a/src/common/signalproxy.cpp
b/src/common/signalproxy.cpp
index
5c2f20e
..
baf109c
100644
(file)
--- a/
src/common/signalproxy.cpp
+++ b/
src/common/signalproxy.cpp
@@
-555,7
+555,7
@@
void SignalProxy::stopSync(SyncableObject* obj) {
// gladly the objectName() is still valid. So we have only to iterate over the classes not each instance! *sigh*
QHash<QByteArray, ObjectId>::iterator classIter = _syncSlave.begin();
while(classIter != _syncSlave.end()) {
// gladly the objectName() is still valid. So we have only to iterate over the classes not each instance! *sigh*
QHash<QByteArray, ObjectId>::iterator classIter = _syncSlave.begin();
while(classIter != _syncSlave.end()) {
- if(classIter->contains(obj->objectName())) {
+ if(classIter->contains(obj->objectName())
&& classIter.value()[obj->objectName()] == obj
) {
classIter->remove(obj->objectName());
break;
}
classIter->remove(obj->objectName());
break;
}