aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2019-07-17 12:35:44 +0200
committerTim Jenssen <tim.jenssen@qt.io>2019-07-17 13:21:39 +0000
commit3ae169f8ac3c4176e57399ae13f02fb778ced4ad (patch)
treeb917d4bac7129e9c074d7e8cc1715643561018db /src/app
parentdfd9d5a5ee271af4483815edc8604e98976c47e5 (diff)
improve installsettingspath error message
Change-Id: Iefd301009faad8a15e9a1b99b0a52bce34eae654 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index 2685966e0c..55ade01871 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -246,7 +246,7 @@ static inline QStringList getPluginPaths()
static void setupInstallSettings(QString &installSettingspath)
{
if (!installSettingspath.isEmpty() && !QFileInfo(installSettingspath).isDir()) {
- displayHelpText(QString("-installsettingspath needs to be the path where a %1/%2.ini exist.").arg(
+ displayError(QString("-installsettingspath \"%0\" needs to be the path where a %1/%2.ini exist.").arg(installSettingspath,
QLatin1String(Core::Constants::IDE_SETTINGSVARIANT_STR), QLatin1String(Core::Constants::IDE_CASED_ID)));
installSettingspath.clear();
}