X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=8aa0bb2e0c6cc7e719dd7e8cfed7ba2e9f1e2786;hp=6c63404f139757b54163063ad0f11d142cd2c934;hb=d1b6499b0b848d4287efae89107576548533502c;hpb=f37791b92e3bf6e78b93036c0669926eeba3347b diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 6c63404f..8aa0bb2e 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -129,7 +129,7 @@ void MainWin::init() { // attach the BufferWidget to the PropertyMapper Client::bufferModel()->mapProperty(0, NetworkModel::BufferIdRole, ui.bufferWidget, "currentBuffer"); connect(Client::networkModel(), SIGNAL(bufferAboutToBeRemoved(BufferId)), - ui.bufferWidget, SLOT(removeBuffer(BufferId))); + ui.bufferWidget, SLOT(removeBuffer(BufferId))); // attach the NickList to the PropertyMapper Client::bufferModel()->mapProperty(0, NetworkModel::BufferIdRole, nickListWidget, "currentBuffer"); @@ -237,14 +237,14 @@ void MainWin::showCoreConnectionDlg(bool autoConnect) { coreConnectDlg = new CoreConnectDlg(this, autoConnect); connect(coreConnectDlg, SIGNAL(finished(int)), this, SLOT(coreConnectionDlgFinished(int))); coreConnectDlg->setModal(true); - if(!autoConnect || !coreConnectDlg->willDoInternalAutoConnect()) + //if(!autoConnect || !coreConnectDlg->willDoInternalAutoConnect()) coreConnectDlg->show(); // avoid flicker and show dlg only if we do remote connect, which needs a progress bar - if(autoConnect) coreConnectDlg->doAutoConnect(); + //if(autoConnect) coreConnectDlg->doAutoConnect(); } void MainWin::coreConnectionDlgFinished(int /*code*/) { - coreConnectDlg->close(); + //exit(1); }