diff options
Diffstat (limited to 'tests/auto/qml/qqmltimer')
-rw-r--r-- | tests/auto/qml/qqmltimer/tst_qqmltimer.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/auto/qml/qqmltimer/tst_qqmltimer.cpp b/tests/auto/qml/qqmltimer/tst_qqmltimer.cpp index 64f804c200..4e42d02514 100644 --- a/tests/auto/qml/qqmltimer/tst_qqmltimer.cpp +++ b/tests/auto/qml/qqmltimer/tst_qqmltimer.cpp @@ -89,11 +89,9 @@ class TimerHelper : public QObject { Q_OBJECT public: - TimerHelper() : QObject(), count(0) - { - } + TimerHelper() { } - int count; + int count = 0; public slots: void timeout() { @@ -101,9 +99,7 @@ public slots: } }; -tst_qqmltimer::tst_qqmltimer() -{ -} +tst_qqmltimer::tst_qqmltimer() { } void tst_qqmltimer::initTestCase() { |