Commit f2ca9eb1 authored by Ulf Hermann's avatar Ulf Hermann

Show tool name in warning about wrong build mode

Change-Id: I3fd8daf5ffea9708adf173b4685b2b8235c89e54
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent c45f08cd
......@@ -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. "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment