diff options
author | Andrew <forkk@forkk.net> | 2013-02-01 13:07:36 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-02-01 13:07:36 -0600 |
commit | 3c8a12aded03e6e3f4a0c50cbb7a7ef4e57fab07 (patch) | |
tree | 347c31b8d86b923bdf535ec95ec19c93478af2c6 /gui/mainwindow.cpp | |
parent | a96e1853de4c2769a6c3092212bec4276630b719 (diff) | |
download | PrismLauncher-3c8a12aded03e6e3f4a0c50cbb7a7ef4e57fab07.tar.gz PrismLauncher-3c8a12aded03e6e3f4a0c50cbb7a7ef4e57fab07.tar.bz2 PrismLauncher-3c8a12aded03e6e3f4a0c50cbb7a7ef4e57fab07.zip |
Added new instance dialog.
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r-- | gui/mainwindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 3a5e3d86..1ff633b2 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -17,12 +17,16 @@ #include "ui_mainwindow.h" #include <QMenu> +#include <QMessageBox> #include <QDesktopServices> #include <QUrl> #include "util/osutils.h" + #include "gui/settingsdialog.h" +#include "gui/newinstancedialog.h" + #include "data/appsettings.h" #include "data/version.h" @@ -48,7 +52,8 @@ MainWindow::~MainWindow() void MainWindow::on_actionAddInstance_triggered() { - + NewInstanceDialog *newInstDlg = new NewInstanceDialog(this); + newInstDlg->exec(); } void MainWindow::on_actionViewInstanceFolder_triggered() |