diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index d60d6725fe475e00d8c4d77c137d33d9c430bf33..ddbf4e587018b372b301518bf3b82fc26fd0c292 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())