diff options
Diffstat (limited to 'src/qml/qml/qqmlnotifier_p.h')
-rw-r--r-- | src/qml/qml/qqmlnotifier_p.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlnotifier_p.h b/src/qml/qml/qqmlnotifier_p.h index ab0711341d..3192531786 100644 --- a/src/qml/qml/qqmlnotifier_p.h +++ b/src/qml/qml/qqmlnotifier_p.h @@ -59,7 +59,7 @@ private: friend class QQmlData; friend class QQmlNotifierEndpoint; - static void emitNotify(QQmlNotifierEndpoint *); + static void emitNotify(QQmlNotifierEndpoint *, void **a); QQmlNotifierEndpoint *endpoints; }; @@ -69,7 +69,7 @@ public: inline QQmlNotifierEndpoint(); inline ~QQmlNotifierEndpoint(); - typedef void (*Callback)(QQmlNotifierEndpoint *); + typedef void (*Callback)(QQmlNotifierEndpoint *, void **); Callback callback; inline bool isConnected(); @@ -124,7 +124,8 @@ QQmlNotifier::~QQmlNotifier() void QQmlNotifier::notify() { - if (endpoints) emitNotify(endpoints); + void *args[] = { 0 }; + if (endpoints) emitNotify(endpoints, args); } QQmlNotifierEndpoint::QQmlNotifierEndpoint() |