X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=gui%2Fmainwin.cpp;h=35441a1b26b8865389cffa5bba09476e859e35f0;hp=3d2df39be616f12b7febe2d5a422a7829f1151f9;hb=f0a6776fc5102ff6a7fe1469917fe231e4cd3a8a;hpb=26586e615ffe42bb2b1b307ed1324a6e3051f5da diff --git a/gui/mainwin.cpp b/gui/mainwin.cpp index 3d2df39b..35441a1b 100644 --- a/gui/mainwin.cpp +++ b/gui/mainwin.cpp @@ -36,8 +36,6 @@ #include "settingsdlg.h" #include "settingspages.h" -LayoutThread *layoutThread; - MainWin::MainWin() : QMainWindow() { ui.setupUi(this); //widget = 0; @@ -144,6 +142,7 @@ void MainWin::setupMenus() { } void MainWin::setupViews() { + BufferTreeModel *model = Client::bufferModel(); // FIXME Where is the delete for that? :p connect(model, SIGNAL(bufferSelected(Buffer *)), this, SLOT(showBuffer(Buffer *))); //connect(this, SIGNAL(bufferSelected(Buffer *)), model, SLOT(selectBuffer(Buffer *))); @@ -223,7 +222,7 @@ void MainWin::showBuffer(Buffer *b) { //emit bufferSelected(b); //qApp->processEvents(); ui.bufferWidget->setBuffer(b); - //emit bufferSelected(b); // FIXME do we need this? + //emit bufferSelected(b); } void MainWin::importBacklog() {