1
0
mirror of https://invent.kde.org/network/krfb synced 2024-07-05 17:38:38 +00:00

Fix an incorrect QOject::disconnect() and add some debug.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1024049
This commit is contained in:
George Goldberg 2009-09-15 21:13:18 +00:00
parent 176cd16c3e
commit 9c397fd8bb

View File

@ -309,8 +309,9 @@ void KrfbServer::clientDisconnected(ConnectionController *cc)
kDebug() << "clients--: " << d->numClients;
if (!--d->numClients) {
d->fb->stopMonitor();
kDebug() << "stopMonitor: d->numClients = " << d->numClients;
}
disconnect(cc, SIGNAL(clientDisconnected(ConnectionController)),this, SLOT(clientDisconnected(ConnectionController)));
disconnect(cc, SIGNAL(clientDisconnected(ConnectionController*)),this, SLOT(clientDisconnected(ConnectionController*)));
Q_EMIT sessionFinished();
}