summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/binding/happybirthday.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/extending/binding/happybirthday.cpp')
-rw-r--r--examples/declarative/extending/binding/happybirthday.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/extending/binding/happybirthday.cpp b/examples/declarative/extending/binding/happybirthday.cpp
index d1f485e..dd1247f 100644
--- a/examples/declarative/extending/binding/happybirthday.cpp
+++ b/examples/declarative/extending/binding/happybirthday.cpp
@@ -2,7 +2,7 @@
#include <QTimer>
HappyBirthday::HappyBirthday(QObject *parent)
-: QmlPropertyValueSource(parent), m_line(-1)
+: QObject(parent), m_line(-1)
{
setName(QString());
QTimer *timer = new QTimer(this);