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