Added settings dialog.
This commit is contained in:
parent
fce0f5df04
commit
f7e9a7523f
9 changed files with 684 additions and 14 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue