projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d509547
)
fixing request -> receive sync calls
author
Marcus Eggenberger
<egs@quassel-irc.org>
Tue, 6 Jan 2009 13:08:33 +0000
(14:08 +0100)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Tue, 6 Jan 2009 13:08:33 +0000
(14:08 +0100)
src/common/signalproxy.cpp
patch
|
blob
|
history
diff --git
a/src/common/signalproxy.cpp
b/src/common/signalproxy.cpp
index
4459c04
..
0cb8106
100644
(file)
--- a/
src/common/signalproxy.cpp
+++ b/
src/common/signalproxy.cpp
@@
-828,7
+828,7
@@
bool SignalProxy::invokeSlot(QObject *receiver, int methodId, const QVariantList
? Qt::DirectConnection
: Qt::QueuedConnection;
? Qt::DirectConnection
: Qt::QueuedConnection;
- if
(type == Qt::DirectConnection) {
+ if(type == Qt::DirectConnection) {
return receiver->qt_metacall(QMetaObject::InvokeMetaMethod, methodId, _a) < 0;
} else {
qWarning() << "Queued Connections are not implemented yet";
return receiver->qt_metacall(QMetaObject::InvokeMetaMethod, methodId, _a) < 0;
} else {
qWarning() << "Queued Connections are not implemented yet";
@@
-1233,6
+1233,7
@@
const QHash<int, int> &SignalProxy::ExtendedMetaObject::receiveMap() {
if(receiverId != -1)
receiveMap[i] = receiverId;
}
if(receiverId != -1)
receiveMap[i] = receiverId;
}
+ _receiveMap = receiveMap;
}
return _receiveMap;
}
}
return _receiveMap;
}