summaryrefslogtreecommitdiffstats
path: root/application/GuiUtil.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-05-06 07:22:24 +0200
committerPetr Mrázek <peterix@gmail.com>2015-05-06 07:22:24 +0200
commit9598f80335ae4136e229cd4c5209dcede284e2b0 (patch)
tree654bb353776fe9fb1367cda66fee36a85e868382 /application/GuiUtil.cpp
parent34a5e59007db39ca92e88a7b6e0ebf1b24681267 (diff)
downloadMultiMC-9598f80335ae4136e229cd4c5209dcede284e2b0.tar
MultiMC-9598f80335ae4136e229cd4c5209dcede284e2b0.tar.gz
MultiMC-9598f80335ae4136e229cd4c5209dcede284e2b0.tar.lz
MultiMC-9598f80335ae4136e229cd4c5209dcede284e2b0.tar.xz
MultiMC-9598f80335ae4136e229cd4c5209dcede284e2b0.zip
NOISSUE do not show file browse dialog twice
Diffstat (limited to 'application/GuiUtil.cpp')
-rw-r--r--application/GuiUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/GuiUtil.cpp b/application/GuiUtil.cpp
index 7ce00115..922d38fa 100644
--- a/application/GuiUtil.cpp
+++ b/application/GuiUtil.cpp
@@ -94,7 +94,7 @@ QStringList GuiUtil::BrowseForMods(QString context, QString caption, QString fil
if (w.exec())
{
savedPaths[context] = w.directory().absolutePath();
- return w.getOpenFileNames();
+ return w.selectedFiles();
}
savedPaths[context] = w.directory().absolutePath();
return {};