X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.cpp;h=22e71f135323e12e4e8d92d0d5e2a022f708d32f;hp=9078f24a36c602aeda94141319c05162040ef938;hb=444e91f948b435e652205c4d0f1148906e9e86dc;hpb=57d44eafac4d353d1523e93cc7613debc1826e94 diff --git a/src/common/signalproxy.cpp b/src/common/signalproxy.cpp index 9078f24a..22e71f13 100644 --- a/src/common/signalproxy.cpp +++ b/src/common/signalproxy.cpp @@ -312,9 +312,9 @@ void SignalProxy::removePeer(QIODevice* iodev) { void SignalProxy::removePeerBySender() { // OK we're brutal here... but since it's a private slot we know what we've got connected to it... + // this Slot is not triggered by destroyed, so the object is still alive and can be used! QIODevice *ioDev = (QIODevice *)(sender()); removePeer(ioDev); - qDebug() << "Client disconnected."; } void SignalProxy::objectRenamed(const QString &newname, const QString &oldname) {