diff options
Diffstat (limited to 'examples/qml/qmlextensionplugins/plugin.cpp')
-rw-r--r-- | examples/qml/qmlextensionplugins/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/qmlextensionplugins/plugin.cpp b/examples/qml/qmlextensionplugins/plugin.cpp index e04cfa57d8..8e016b8ae5 100644 --- a/examples/qml/qmlextensionplugins/plugin.cpp +++ b/examples/qml/qmlextensionplugins/plugin.cpp @@ -82,7 +82,7 @@ protected: QTime now = QTime::currentTime(); if (now.second() == 59 && now.minute() == time.minute() && now.hour() == time.hour()) { // just missed time tick over, force it, wait extra 0.5 seconds - time.addSecs(60); + time = time.addSecs(60); timer.start(60500, this); } else { time = now; |