forked from qt-creator/qt-creator
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:
@@ -53,8 +53,6 @@ namespace Internal {
|
|||||||
WinRtRunControl::WinRtRunControl(WinRtRunConfiguration *runConfiguration, Core::Id mode)
|
WinRtRunControl::WinRtRunControl(WinRtRunConfiguration *runConfiguration, Core::Id mode)
|
||||||
: RunControl(runConfiguration, mode)
|
: RunControl(runConfiguration, mode)
|
||||||
, m_runConfiguration(runConfiguration)
|
, m_runConfiguration(runConfiguration)
|
||||||
, m_state(StoppedState)
|
|
||||||
, m_runner(0)
|
|
||||||
{
|
{
|
||||||
setIcon(Utils::Icons::RUN_SMALL_TOOLBAR);
|
setIcon(Utils::Icons::RUN_SMALL_TOOLBAR);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,9 +63,9 @@ private:
|
|||||||
bool startWinRtRunner();
|
bool startWinRtRunner();
|
||||||
|
|
||||||
WinRtRunConfiguration *m_runConfiguration;
|
WinRtRunConfiguration *m_runConfiguration;
|
||||||
State m_state;
|
State m_state = StoppedState;
|
||||||
Utils::QtcProcess *m_process;
|
Utils::QtcProcess *m_process = nullptr;
|
||||||
WinRtRunnerHelper *m_runner;
|
WinRtRunnerHelper *m_runner = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
|
|||||||
Reference in New Issue
Block a user