aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/referenceexamples/binding/happybirthdaysong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/referenceexamples/binding/happybirthdaysong.cpp')
-rw-r--r--examples/qml/referenceexamples/binding/happybirthdaysong.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/referenceexamples/binding/happybirthdaysong.cpp b/examples/qml/referenceexamples/binding/happybirthdaysong.cpp
index fae016091b..5f8e6d696e 100644
--- a/examples/qml/referenceexamples/binding/happybirthdaysong.cpp
+++ b/examples/qml/referenceexamples/binding/happybirthdaysong.cpp
@@ -54,7 +54,7 @@ HappyBirthdaySong::HappyBirthdaySong(QObject *parent)
: QObject(parent), m_line(-1)
{
setName(QString());
- QTimer *timer = new QTimer(this);
+ auto *timer = new QTimer(this);
QObject::connect(timer, &QTimer::timeout, this, &HappyBirthdaySong::advance);
timer->start(1000);
}