From ff8594fa60cef1697064c7519a713a0a319e6681 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 14 Feb 2013 12:34:47 +0100 Subject: [PATCH] Show project name in dialogs related to opening .user file Task-number: QTCREATORBUG-8752 Change-Id: Icfbb6bb498afcb3425ff08846a2f7f86f28bbf80 Reviewed-by: Nikolai Kosjar --- src/plugins/projectexplorer/settingsaccessor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/settingsaccessor.cpp b/src/plugins/projectexplorer/settingsaccessor.cpp index 385b32cbd53..8bdd00694f2 100644 --- a/src/plugins/projectexplorer/settingsaccessor.cpp +++ b/src/plugins/projectexplorer/settingsaccessor.cpp @@ -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", "

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 "