forked from qt-creator/qt-creator
improve installsettingspath error message
Change-Id: Iefd301009faad8a15e9a1b99b0a52bce34eae654 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user