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