Commit 2ce9863a authored by Kai Koehne's avatar Kai Koehne Committed by hjk
Browse files

ProjectExplorer: Fix "cannot run" tooltip

Since change a6ff74c0


runMode is an enum.

Change-Id: I696c71f2acb54097eb72cbaa39a72f5056b65bf7
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent fd179ed9
......@@ -2312,8 +2312,7 @@ QString ProjectExplorerPlugin::cannotRunReason(Project *project, RunMode runMode
// shouldn't actually be shown to the user...
if (!findRunControlFactory(activeRC, runMode))
return tr("Cannot run '%1' in mode '%2'.")
.arg(activeRC->displayName(), runMode);
return tr("Cannot run '%1'.").arg(activeRC->displayName());
if (d->m_buildManager->isBuilding())
......
Supports Markdown
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