X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.cpp;h=0cb8106d0249a8f709d7cbbdd6d60f5d4e75573b;hp=4459c04706876b1795379f2e70072782693f1ee7;hb=e531fd1f1ea36a360a9d876c94e73b0f3b1bcd22;hpb=d5095471627f6399b277d7c6d06b6bbcb915c57f diff --git a/src/common/signalproxy.cpp b/src/common/signalproxy.cpp index 4459c047..0cb8106d 100644 --- 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; - 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"; @@ -1233,6 +1233,7 @@ const QHash &SignalProxy::ExtendedMetaObject::receiveMap() { if(receiverId != -1) receiveMap[i] = receiverId; } + _receiveMap = receiveMap; } return _receiveMap; }