summaryrefslogtreecommitdiffstats
path: root/application/pages/ModFolderPage.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-05-04 22:17:05 +0200
committerPetr Mrázek <peterix@gmail.com>2015-05-04 22:17:05 +0200
commitc09dc85090a286305ce4f6faf86a71498a792018 (patch)
treea813300018f3777265d73f77617a7a33c5daf1fb /application/pages/ModFolderPage.cpp
parentc10a4a54d9ae0a3d404a3801c996e8b93ff1cab8 (diff)
downloadMultiMC-c09dc85090a286305ce4f6faf86a71498a792018.tar
MultiMC-c09dc85090a286305ce4f6faf86a71498a792018.tar.gz
MultiMC-c09dc85090a286305ce4f6faf86a71498a792018.tar.lz
MultiMC-c09dc85090a286305ce4f6faf86a71498a792018.tar.xz
MultiMC-c09dc85090a286305ce4f6faf86a71498a792018.zip
GH-899 fix add mod button not opening the central mods folder
Diffstat (limited to 'application/pages/ModFolderPage.cpp')
-rw-r--r--application/pages/ModFolderPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/pages/ModFolderPage.cpp b/application/pages/ModFolderPage.cpp
index 3c55aefc..94575e10 100644
--- a/application/pages/ModFolderPage.cpp
+++ b/application/pages/ModFolderPage.cpp
@@ -122,7 +122,7 @@ bool ModFolderPage::eventFilter(QObject *obj, QEvent *ev)
void ModFolderPage::on_addModBtn_clicked()
{
QStringList fileNames = QFileDialog::getOpenFileNames(
- this, QApplication::translate("ModFolderPage", "Select Loader Mods"));
+ this, QApplication::translate("ModFolderPage", "Select Loader Mods"), MMC->settings()->get("CentralModsDir").toString());
for (auto filename : fileNames)
{
m_mods->stopWatching();