Debugger: Use the toolbar version of start debug icon on the toolbar

Change-Id: Iac38599ead4851f5aac978d7484f0b230809f7ac
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2018-10-19 16:08:51 +02:00
parent 57de7cabdf
commit e5da4a791c

View File

@@ -1471,7 +1471,7 @@ void DebuggerPluginPrivate::updatePresetState()
// No engine running -- or -- we have a running engine but it does not
// correspond to the current start up project.
m_startAction.setEnabled(canRun);
m_startAction.setIcon(startIcon(false));
m_startAction.setIcon(startIcon(true));
m_startAction.setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
m_startAction.setVisible(true);
m_debugWithoutDeployAction.setEnabled(canRun);