Show project name in dialogs related to opening .user file

Task-number: QTCREATORBUG-8752

Change-Id: Icfbb6bb498afcb3425ff08846a2f7f86f28bbf80
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Tobias Hunger
2013-02-14 12:34:47 +01:00
parent 1e988331d0
commit ff8594fa60

View File

@@ -611,7 +611,7 @@ QVariantMap SettingsAccessor::restoreSettings() const
QMessageBox::information(
Core::ICore::mainWindow(),
QApplication::translate("ProjectExplorer::SettingsAccessor",
"Using Old Project Settings File"),
"Using Old Settings File for '%1'").arg(project()->displayName()),
QApplication::translate("ProjectExplorer::SettingsAccessor",
"<html><head/><body><p>A versioned backup of the .user "
"settings file will be used, because the non-versioned "
@@ -636,7 +636,7 @@ QVariantMap SettingsAccessor::restoreSettings() const
QMessageBox msgBox(
QMessageBox::Question,
QApplication::translate("ProjectExplorer::SettingsAccessor",
"Project Settings File from a different Environment?"),
"Settings File for '%1' from a different Environment?").arg(project()->displayName()),
QApplication::translate("ProjectExplorer::SettingsAccessor",
"Qt Creator has found a .user settings file which was "
"created for another development setup, maybe "