From 5246ea944788351c68c769f226353dbb7cc71577 Mon Sep 17 00:00:00 2001 From: APTX Date: Tue, 3 Jul 2012 14:46:06 +0200 Subject: [PATCH] Oops --- management-gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management-gui/mainwindow.cpp b/management-gui/mainwindow.cpp index acb0528..b825817 100644 --- a/management-gui/mainwindow.cpp +++ b/management-gui/mainwindow.cpp @@ -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); -- 2.52.0