aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-10-02 14:47:17 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-10-14 10:18:57 +0000
commitf2ca9eb1669c3df82585221f8eb45305abc39dae (patch)
tree3f76798ac351a1f13fc84952cbfd46bcd4b2e05f
parentc45f08cdae88ec25ac63a8855045ce292d3f8c82 (diff)
Show tool name in warning about wrong build mode
Change-Id: I3fd8daf5ffea9708adf173b4685b2b8235c89e54 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
-rw-r--r--src/plugins/analyzerbase/ianalyzertool.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/analyzerbase/ianalyzertool.cpp b/src/plugins/analyzerbase/ianalyzertool.cpp
index 7aa6ddbfc9..d86ffea71a 100644
--- a/src/plugins/analyzerbase/ianalyzertool.cpp
+++ b/src/plugins/analyzerbase/ianalyzertool.cpp
@@ -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. "