X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsessionthread.cpp;h=1439bfceca382f979897bfdf96972e296fdf7837;hp=e886db5a5d1c04ee5ce46ad1624279b3f853d21a;hb=8379f6f725cf8ed2fdad1a19bd10743436c2d086;hpb=9fc57dc2c000e80fb8bd746a090e2e8210e1278e diff --git a/src/core/sessionthread.cpp b/src/core/sessionthread.cpp index e886db5a..1439bfce 100644 --- a/src/core/sessionthread.cpp +++ b/src/core/sessionthread.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -121,9 +121,10 @@ void SessionThread::addInternalClientToSession(InternalPeer *internalPeer) void SessionThread::run() { _session = new CoreSession(user(), _restoreState); + connect(_session, SIGNAL(passwordChangeRequested(UserId, QString)), SIGNAL(passwordChangeRequested(UserId, QString))); connect(this, SIGNAL(addRemoteClient(RemotePeer*)), _session, SLOT(addClient(RemotePeer*))); connect(this, SIGNAL(addInternalClient(InternalPeer*)), _session, SLOT(addClient(InternalPeer*))); - connect(_session, SIGNAL(sessionState(QVariant)), Core::instance(), SIGNAL(sessionState(QVariant))); + connect(_session, SIGNAL(sessionState(Protocol::SessionState)), Core::instance(), SIGNAL(sessionState(Protocol::SessionState))); emit initialized(); exec(); delete _session;