diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-01-22 05:56:12 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-01-22 05:56:12 +0100 |
commit | 00893b3cfc68f12c09e84643d255044a488b0eb6 (patch) | |
tree | 229762a1cc56827b7bbfedd237dbf5c3bd57808c /gui/mainwindow.cpp | |
parent | f33ab9beb17bd11cb55951cb04d24cef34f6dec0 (diff) | |
download | PrismLauncher-00893b3cfc68f12c09e84643d255044a488b0eb6.tar.gz PrismLauncher-00893b3cfc68f12c09e84643d255044a488b0eb6.tar.bz2 PrismLauncher-00893b3cfc68f12c09e84643d255044a488b0eb6.zip |
Instance model (or at least something like it)
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r-- | gui/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 8f7372c8..87a1dcc0 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -26,7 +26,8 @@ MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow) { ui->setupUi(this); - instList.loadInstances("instances"); + instList.initialLoad("instances"); + ui->instanceView->setModel(&instList); } MainWindow::~MainWindow() @@ -46,7 +47,7 @@ void MainWindow::on_actionViewInstanceFolder_triggered() void MainWindow::on_actionRefresh_triggered() { - instList.loadInstances("instances"); + instList.initialLoad("instances"); } void MainWindow::on_actionViewCentralModsFolder_triggered() |