diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-02-03 14:29:59 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-02-04 18:36:45 +0000 |
| commit | 42f020d7c9fc9f481132b5efb162b34d2f4f8cf6 (patch) | |
| tree | 26eb0af270206ee61c70efa188eaab05a96656f0 | |
| parent | 83e661aad2cc57e6dc51a10385dc6a56a9dcc163 (diff) | |
libpysideqml: Use SingletonInstanceFunctor instead of SingletonFunctor
Adapt to qtdeclarative/9dc7a22b212c18215942b9a4bfa17bd16dd5151b.
Task-number: QTBUG-95788
Change-Id: I024f27d8d20f4bc8376f6f4be5ee2dc23218e889
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
| -rw-r--r-- | sources/pyside6/libpysideqml/pysideqmlregistertype.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/libpysideqml/pysideqmlregistertype.cpp b/sources/pyside6/libpysideqml/pysideqmlregistertype.cpp index 26bb1c332..ac72b056b 100644 --- a/sources/pyside6/libpysideqml/pysideqmlregistertype.cpp +++ b/sources/pyside6/libpysideqml/pysideqmlregistertype.cpp @@ -303,7 +303,7 @@ int qmlRegisterSingletonInstance(PyObject *pyObj, const char *uri, int versionMa // Create Singleton Functor to pass the QObject to the Type registration step // similarly to the case when we have a callback - QQmlPrivate::SingletonFunctor registrationFunctor; + QQmlPrivate::SingletonInstanceFunctor registrationFunctor; registrationFunctor.m_object = instanceQObject; const QMetaObject *metaObject = PySide::retrieveMetaObject(pyObjType); |
