summaryrefslogtreecommitdiff
path: root/src/plugins/winrt/winrtruncontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/winrt/winrtruncontrol.cpp')
-rw-r--r--src/plugins/winrt/winrtruncontrol.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/winrt/winrtruncontrol.cpp b/src/plugins/winrt/winrtruncontrol.cpp
index 92598c34e6..ae0635ae93 100644
--- a/src/plugins/winrt/winrtruncontrol.cpp
+++ b/src/plugins/winrt/winrtruncontrol.cpp
@@ -60,6 +60,7 @@ WinRtRunControl::WinRtRunControl(WinRtRunConfiguration *runConfiguration, RunMod
, m_state(StoppedState)
, m_runner(0)
{
+ setIcon(QLatin1String(ProjectExplorer::Constants::ICON_RUN_SMALL));
}
void WinRtRunControl::start()
@@ -84,11 +85,6 @@ bool WinRtRunControl::isRunning() const
return m_state == StartedState;
}
-QIcon WinRtRunControl::icon() const
-{
- return QIcon(QLatin1String(ProjectExplorer::Constants::ICON_RUN_SMALL));
-}
-
void WinRtRunControl::onProcessStarted()
{
QTC_CHECK(m_state == StartingState);