]> Some of my projects - localmylist.git/commitdiff
Oops
authorAPTX <redacted>
Tue, 3 Jul 2012 12:46:06 +0000 (14:46 +0200)
committerAPTX <redacted>
Tue, 3 Jul 2012 12:46:06 +0000 (14:46 +0200)
management-gui/mainwindow.cpp

index acb0528..b825817 100644 (file)
@@ -42,7 +42,7 @@ MainWindow::MainWindow(QWidget *parent) :
        MyList::instance()->database()->connect();
 
        myListModel = new MyListModel(this);
-       ui->myListView->setMyListModel(myListModel);
+       ui->myListView->setModel(myListModel);
 
        ui->myListView->header()->setResizeMode(0, QHeaderView::Stretch);
        ui->myListView->header()->setStretchLastSection(false);