debugger: refactor debugger configuration check

This commit is contained in:
hjk
2011-01-07 19:50:41 +01:00
parent 1b1663a289
commit 129c958a93
7 changed files with 95 additions and 99 deletions

View File

@@ -2499,8 +2499,8 @@ void DebuggerPluginPrivate::createNewDock(QWidget *widget)
void DebuggerPluginPrivate::runControlStarted(DebuggerEngine *engine)
{
activateDebugMode();
QString toolChainName = ToolChain::toolChainName(
ProjectExplorer::ToolChainType((engine->startParameters().toolChainType)));
QString toolChainName =
ToolChain::toolChainName(engine->startParameters().toolChainType);
const QString message = tr("Starting debugger '%1' for tool chain '%2'...")
.arg(engine->objectName()).arg(toolChainName);
showMessage(message, StatusBar);