summaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-01-29 00:26:24 -0600
committerAndrew <forkk@forkk.net>2013-01-29 00:26:24 -0600
commit7ac25bf2dae0c4435732265d26924140893914ff (patch)
treea69eee205639b12e2960b50e7317436cb72d96f6 /gui/mainwindow.cpp
parent3a0367a79c53c59e670ee50927247885fe4807cb (diff)
downloadMultiMC-7ac25bf2dae0c4435732265d26924140893914ff.tar
MultiMC-7ac25bf2dae0c4435732265d26924140893914ff.tar.gz
MultiMC-7ac25bf2dae0c4435732265d26924140893914ff.tar.lz
MultiMC-7ac25bf2dae0c4435732265d26924140893914ff.tar.xz
MultiMC-7ac25bf2dae0c4435732265d26924140893914ff.zip
Implemented the view folder buttons on the main window.
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r--gui/mainwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp
index eedaddb8..e2a3abfb 100644
--- a/gui/mainwindow.cpp
+++ b/gui/mainwindow.cpp
@@ -19,7 +19,9 @@
#include <QDesktopServices>
#include <QUrl>
+#include "util/osutils.h"
#include "gui/settingsdialog.h"
+#include "data/appsettings.h"
#include "data/version.h"
MainWindow::MainWindow(QWidget *parent) :
@@ -46,7 +48,7 @@ void MainWindow::on_actionAddInstance_triggered()
void MainWindow::on_actionViewInstanceFolder_triggered()
{
-
+ openInDefaultProgram(settings->getInstanceDir());
}
void MainWindow::on_actionRefresh_triggered()
@@ -56,7 +58,7 @@ void MainWindow::on_actionRefresh_triggered()
void MainWindow::on_actionViewCentralModsFolder_triggered()
{
-
+ openInDefaultProgram(settings->getCentralModsDir());
}
void MainWindow::on_actionCheckUpdate_triggered()