X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmonoapplication.cpp;h=5b9bf5a93a12a87766d88c50f648b0d55360e0b6;hp=a63ec55811cf7011f1158fb5b78c998a286ad11f;hb=f824db0e31b54969e0b7fa0b5405b1e9173d482c;hpb=1eb21546673535f5707aa6346e8c749b928cd772 diff --git a/src/qtui/monoapplication.cpp b/src/qtui/monoapplication.cpp index a63ec558..5b9bf5a9 100644 --- a/src/qtui/monoapplication.cpp +++ b/src/qtui/monoapplication.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -53,16 +53,15 @@ MonolithicApplication::~MonolithicApplication() { } void MonolithicApplication::newClientSyncer(ClientSyncer *syncer) { - connect(syncer, SIGNAL(startInternalCore()), this, SLOT(startInternalCore())); + connect(syncer, SIGNAL(startInternalCore(ClientSyncer *)), this, SLOT(startInternalCore(ClientSyncer *))); } -void MonolithicApplication::startInternalCore() { +void MonolithicApplication::startInternalCore(ClientSyncer *syncer) { if(!_internalInitDone) { _internal->init(); _internalInitDone = true; } Core *core = Core::instance(); - ClientSyncer *syncer = static_cast(sender()); connect(syncer, SIGNAL(connectToInternalCore(SignalProxy *)), core, SLOT(setupInternalClientSession(SignalProxy *))); connect(core, SIGNAL(sessionState(const QVariant &)), syncer, SLOT(internalSessionStateReceived(const QVariant &))); }