X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=gui%2Fmainwin.cpp;h=08792035a3b3474a37359d840332bdfaeee53add;hb=7ec4585cecc74ce8d9a94b0e52f00a96d105e79e;hp=0a6912145aa565e817c6741d0d3f854b038d8f64;hpb=6fc26e28a07a2b6bbc60ee786514a802e628d6d3;p=quassel.git diff --git a/gui/mainwin.cpp b/gui/mainwin.cpp index 0a691214..08792035 100644 --- a/gui/mainwin.cpp +++ b/gui/mainwin.cpp @@ -40,7 +40,7 @@ LayoutThread *layoutThread; MainWin::MainWin() : QMainWindow() { ui.setupUi(this); //widget = 0; - qDebug() << "Available DB drivers: " << QSqlDatabase::drivers (); + //qDebug() << "Available DB drivers: " << QSqlDatabase::drivers (); setWindowTitle("Quassel IRC"); //setWindowTitle("Κυασελ Εγαρζη"); setWindowIcon(QIcon(":/qirc-icon.png")); @@ -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 *)));