mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-22 19:49:56 +00:00
Added settings dialog.
This commit is contained in:
@@ -19,15 +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");
|
||||
|
||||
model.setInstanceList(&instList);
|
||||
ui->instListView->setModel(&model);
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
@@ -62,7 +61,8 @@ void MainWindow::on_actionCheckUpdate_triggered()
|
||||
|
||||
void MainWindow::on_actionSettings_triggered()
|
||||
{
|
||||
|
||||
SettingsDialog dialog(this);
|
||||
dialog.exec();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionReportBug_triggered()
|
||||
|
||||
Reference in New Issue
Block a user