aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-07-08 17:09:39 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2019-07-09 09:25:37 +0000
commitdaa2dde537d2ad2578d28c9ac51fd35b49ad97d9 (patch)
tree3c81c0615f60bdb2c89655d9d736e42ac3fba357 /src/libs
parent8c437362bc6e0374aa9b2dc9338aba1e5cf545a0 (diff)
ProjectExplorer: Give some possible reasons for not using a .user file
In particular, explain that using a different settings path prevents Qt Creator from using the .user file. Task-number: QTCREATORBUG-18294 Change-Id: Iabd4bc0f3819ce458a4777d2cd554d1afe6013c6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/utils/settingsaccessor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/utils/settingsaccessor.cpp b/src/libs/utils/settingsaccessor.cpp
index f6d90df7e0..881652f5ea 100644
--- a/src/libs/utils/settingsaccessor.cpp
+++ b/src/libs/utils/settingsaccessor.cpp
@@ -277,7 +277,10 @@ BackingUpSettingsAccessor::readData(const FilePath &path, QWidget *parent) const
QApplication::translate("Utils::SettingsAccessor",
"<p>No valid settings file could be found.</p>"
"<p>All settings files found in directory \"%1\" "
- "were unsuitable for the current version of %2.</p>")
+ "were unsuitable for the current version of %2, "
+ "for instance because they were written by an incompatible "
+ "version of %2, or because a different settings path "
+ "was used.</p>")
.arg(path.toUserOutput()).arg(applicationDisplayName), Issue::Type::ERROR);
i.buttons.insert(QMessageBox::Ok, DiscardAndContinue);
result.issue = i;