diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index e52cb723141..cdb1e87ad24 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1452,8 +1452,9 @@ void DebuggerPluginPrivate::updatePresetState() if (startupRunConfigName.isEmpty() && startupProject) startupRunConfigName = startupProject->displayName(); + // Restrict width, otherwise Creator gets too wide, see QTCREATORBUG-21885 const QString startToolTip = - canRun ? tr("Start debugging of \"%1\"").arg(startupRunConfigName) : whyNot; + canRun ? tr("Start debugging of startup project") : whyNot; m_startAction.setToolTip(startToolTip); m_startAction.setText(canRun ? startToolTip : tr("Start Debugging"));