X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.cpp;h=e89f907d2131587244b18a84f84e34e11c95cacf;hp=0a19351e8cf12da975da946a0a9d686a4aebbb27;hb=9a1986fea34e6204757159efe16b7d7097920210;hpb=9ef86f499753853c3751aee7da54d186837a5161 diff --git a/src/client/client.cpp b/src/client/client.cpp index 0a19351e..e89f907d 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -161,6 +161,7 @@ void Client::init() p->attachSlot(SIGNAL(passwordChanged(PeerPtr,bool)), this, SLOT(corePasswordChanged(PeerPtr,bool))); p->attachSignal(this, SIGNAL(requestKickClient(int)), SIGNAL(kickClient(int))); + p->attachSlot(SIGNAL(disconnectFromCore()), this, SLOT(disconnectFromCore())); //connect(mainUi(), SIGNAL(connectToCore(const QVariantMap &)), this, SLOT(connectToCore(const QVariantMap &))); connect(mainUi(), SIGNAL(disconnectFromCore()), this, SLOT(disconnectFromCore())); @@ -687,7 +688,8 @@ void Client::changePassword(const QString &oldPassword, const QString &newPasswo } -void Client::kickClient(int peerId) { +void Client::kickClient(int peerId) +{ emit instance()->requestKickClient(peerId); }