Show tool name in warning about wrong build mode

Change-Id: I3fd8daf5ffea9708adf173b4685b2b8235c89e54
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-10-02 14:47:17 +02:00
parent c45f08cdae
commit f2ca9eb166

View File

@@ -129,8 +129,7 @@ void AnalyzerAction::startTool()
default:
QTC_CHECK(false);
}
//const QString toolName = displayName();
const QString toolName = AnalyzerManager::tr("Tool"); // FIXME
const QString toolName = text(); // The action text is always the name of the tool
const QString title = AnalyzerManager::tr("Run %1 in %2 Mode?").arg(toolName).arg(currentMode);
const QString message = AnalyzerManager::tr("<html><head/><body><p>You are trying "
"to run the tool \"%1\" on an application in %2 mode. "