summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-06-16 21:50:53 +0200
committerTannin <devnull@localhost>2014-06-16 21:50:53 +0200
commitcbd6b288eb968e522e4007cb4a74b3c1bc5a8360 (patch)
tree91a3a354ffe258e2199c189eeaf88a723c0a9cc6 /src/settings.cpp
parent484749e612489336e5bfbe50ddc3cbe307069d4c (diff)
parent5b3cdaa83bf0e6651bb2f175f810ab7f311ca232 (diff)
Merge
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 9c53af71..c2855a85 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -681,7 +681,7 @@ void Settings::query(QWidget *parent)
(QMessageBox::question(NULL, tr("Confirm"), tr("Changing the mod directory affects all your profiles! "
"Mods not present (or named differently) in the new location will be disabled in all profiles. "
"There is no way to undo this unless you backed up your profiles manually. Proceed?"),
- QMessageBox::Yes | QMessageBox::No))) {
+ QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes)) {
m_Settings.setValue("Settings/mod_directory", QDir::toNativeSeparators(modDirEdit->text()));
}
}