summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/projectexplorer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index d60d6725fe..ddbf4e5870 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -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())