X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=gui%2Fmainwin.cpp;fp=gui%2Fmainwin.cpp;h=0adce3db8a5b338b65c921761841b177917495e5;hp=3d2df39be616f12b7febe2d5a422a7829f1151f9;hb=4ccba157efd91e531a3106012f5d54ba372a0292;hpb=26586e615ffe42bb2b1b307ed1324a6e3051f5da diff --git a/gui/mainwin.cpp b/gui/mainwin.cpp index 3d2df39b..0adce3db 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 *)));