X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=gui%2Fmainwin.cpp;h=1e88be01cb5abd495ca0d36e6469120d19996cc2;hp=0a6912145aa565e817c6741d0d3f854b038d8f64;hb=62f292ad143923a3b774b9bd14f83f3b640c0cb8;hpb=6fc26e28a07a2b6bbc60ee786514a802e628d6d3 diff --git a/gui/mainwin.cpp b/gui/mainwin.cpp index 0a691214..1e88be01 100644 --- a/gui/mainwin.cpp +++ b/gui/mainwin.cpp @@ -153,7 +153,7 @@ void MainWin::setupMenus() { } void MainWin::setupViews() { - BufferTreeModel *model = new BufferTreeModel(); + BufferTreeModel *model = new BufferTreeModel(this); connect(model, SIGNAL(bufferSelected(Buffer *)), this, SLOT(showBuffer(Buffer *))); connect(this, SIGNAL(bufferSelected(Buffer *)), model, SLOT(selectBuffer(Buffer *))); connect(this, SIGNAL(bufferUpdated(Buffer *)), model, SLOT(bufferUpdated(Buffer *)));