diff options
Diffstat (limited to 'src/quickcontrols2/qquickanimatednode_p.h')
-rw-r--r-- | src/quickcontrols2/qquickanimatednode_p.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/quickcontrols2/qquickanimatednode_p.h b/src/quickcontrols2/qquickanimatednode_p.h index 2e355e9a..d42d9319 100644 --- a/src/quickcontrols2/qquickanimatednode_p.h +++ b/src/quickcontrols2/qquickanimatednode_p.h @@ -98,13 +98,13 @@ private Q_SLOTS: void update(); private: - bool m_running; - int m_duration; - int m_loopCount; - int m_currentTime; - int m_currentLoop; + bool m_running = false; + int m_duration = 0; + int m_loopCount = 1; + int m_currentTime = 0; + int m_currentLoop = 0; QElapsedTimer m_timer; - QQuickWindow *m_window; + QQuickWindow *m_window = nullptr; }; QT_END_NAMESPACE |