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

index acb0528f44d026e6e9394f72ee054e72a2c3c436..b82581787b6c51c46f9c40c66095528b8f0f3b7c 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);