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:
parent
176cd16c3e
commit
9c397fd8bb
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user