ProjectExplorer: Set a description for the "Stop" action

"Stop" in the Keyboard Setup Dialog is not really helpful. Say
"Stop Running Program" instead.

Change-Id: I23f590b6faf64a9a680295c3ccf77231b4f5cd21
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2017-03-02 10:23:09 +01:00
parent 113134b3b6
commit 7f49457e9d

View File

@@ -176,10 +176,11 @@ AppOutputPane::AppOutputPane() :
// Stop
m_stopAction->setIcon(Utils::Icons::STOP_SMALL_TOOLBAR.icon());
m_stopAction->setToolTip(tr("Stop"));
m_stopAction->setToolTip(tr("Stop Running Program"));
m_stopAction->setEnabled(false);
Core::Command *cmd = Core::ActionManager::registerAction(m_stopAction, Constants::STOP);
cmd->setDescription(m_stopAction->toolTip());
m_stopButton->setDefaultAction(cmd->action());
m_stopButton->setAutoRaise(true);