X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientsyncer.cpp;h=b8cf4b29c148f45f148d459046beffef374e4ab2;hb=ee6e4f90ce63d7eb3a54937cffb33510398d2349;hp=d77e7af3c9935a5ababfc9bc414cb9c192969dd7;hpb=28e33cd3255a838a045303bed073f4f9c40a3af4;p=quassel.git diff --git a/src/client/clientsyncer.cpp b/src/client/clientsyncer.cpp index d77e7af3..b8cf4b29 100644 --- a/src/client/clientsyncer.cpp +++ b/src/client/clientsyncer.cpp @@ -107,7 +107,6 @@ void ClientSyncer::connectToCore(const QVariantMap &conn) { // emit coreConnectionError(tr("Already connected to Core!")); // return; // } - if(socket != 0) { socket->deleteLater(); socket = 0; @@ -193,7 +192,7 @@ void ClientSyncer::sessionStateReceived(const QVariantMap &state) { disconnect(this, SIGNAL(recvPartialItem(quint32, quint32)), this, SIGNAL(sessionProgress(quint32, quint32))); disconnect(socket, 0, this, 0); // rest of communication happens through SignalProxy //Client::signalProxy()->addPeer(socket); - Client::instance()->setConnectedToCore(socket); + Client::instance()->setConnectedToCore(socket, coreConnectionInfo["AccountId"].value()); syncToCore(state); }