diff options
author | Andrew <forkk@forkk.net> | 2013-02-25 14:44:36 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-02-25 14:44:36 -0600 |
commit | 4ca35a760dfc53fd69f0f2030868ebeda250ed59 (patch) | |
tree | 1fa312da2d051676830e222b3959a100a2fa6e05 /gui/mainwindow.cpp | |
parent | b56b819c35843db0d135a5bbbee5fc9916bd06df (diff) | |
download | MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar.gz MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar.lz MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.tar.xz MultiMC-4ca35a760dfc53fd69f0f2030868ebeda250ed59.zip |
Fixed a lot of MSVC problems
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r-- | gui/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 87661da6..447a6619 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -53,7 +53,7 @@ void openInDefaultProgram(QString filename); MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow), - instList(settings->get("InstanceDir").toString()) + instList(globalSettings->get("InstanceDir").toString()) { ui->setupUi(this); @@ -78,7 +78,7 @@ void MainWindow::on_actionAddInstance_triggered() void MainWindow::on_actionViewInstanceFolder_triggered() { - openInDefaultProgram(settings->get("InstanceDir").toString()); + openInDefaultProgram(globalSettings->get("InstanceDir").toString()); } void MainWindow::on_actionRefresh_triggered() @@ -88,7 +88,7 @@ void MainWindow::on_actionRefresh_triggered() void MainWindow::on_actionViewCentralModsFolder_triggered() { - openInDefaultProgram(settings->get("CentralModsDir").toString()); + openInDefaultProgram(globalSettings->get("CentralModsDir").toString()); } void MainWindow::on_actionCheckUpdate_triggered() |