diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-01-20 00:26:50 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-01-20 00:26:50 +0100 |
commit | 3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8 (patch) | |
tree | 48e0edfb441c42bfb7c7d80489e358a9a27a59bf /gui/mainwindow.cpp | |
parent | b1d00fce8da901b31fa52ea59b4bc3c8edb9d9cc (diff) | |
parent | b371ee1de22be6d846aa53ae5574555ca012f1c3 (diff) | |
download | PrismLauncher-3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8.tar.gz PrismLauncher-3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8.tar.bz2 PrismLauncher-3e0ba1ffd399e4d6e92ba901fc9ea07f589e2af8.zip |
Merge https://github.com/Forkk/MultiMC5
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r-- | gui/mainwindow.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 875cc256..8f7372c8 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -19,11 +19,14 @@ #include <QDesktopServices> #include <QUrl> +#include "../gui/settingsdialog.h" + MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); + instList.loadInstances("instances"); } MainWindow::~MainWindow() @@ -43,7 +46,7 @@ void MainWindow::on_actionViewInstanceFolder_triggered() void MainWindow::on_actionRefresh_triggered() { - + instList.loadInstances("instances"); } void MainWindow::on_actionViewCentralModsFolder_triggered() @@ -58,7 +61,8 @@ void MainWindow::on_actionCheckUpdate_triggered() void MainWindow::on_actionSettings_triggered() { - + SettingsDialog dialog(this); + dialog.exec(); } void MainWindow::on_actionReportBug_triggered() |