WinRT: Use member initialization

Make sure m_process is initialized while at it.

Change-Id: I2a06bc265cb8e6988ef1985a788b33989ae4c0b0
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
Tobias Hunger
2016-12-05 14:11:43 +01:00
parent 84d4b13899
commit 059d060dfa
2 changed files with 3 additions and 5 deletions

View File

@@ -53,8 +53,6 @@ namespace Internal {
WinRtRunControl::WinRtRunControl(WinRtRunConfiguration *runConfiguration, Core::Id mode)
: RunControl(runConfiguration, mode)
, m_runConfiguration(runConfiguration)
, m_state(StoppedState)
, m_runner(0)
{
setIcon(Utils::Icons::RUN_SMALL_TOOLBAR);
}

View File

@@ -63,9 +63,9 @@ private:
bool startWinRtRunner();
WinRtRunConfiguration *m_runConfiguration;
State m_state;
Utils::QtcProcess *m_process;
WinRtRunnerHelper *m_runner;
State m_state = StoppedState;
Utils::QtcProcess *m_process = nullptr;
WinRtRunnerHelper *m_runner = nullptr;
};
} // namespace Internal