diff options
Diffstat (limited to 'sources/pyside6/PySide6/glue/qtmultimedia.cpp')
| -rw-r--r-- | sources/pyside6/PySide6/glue/qtmultimedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/glue/qtmultimedia.cpp b/sources/pyside6/PySide6/glue/qtmultimedia.cpp index 32d9c27e2..251a46e90 100644 --- a/sources/pyside6/PySide6/glue/qtmultimedia.cpp +++ b/sources/pyside6/PySide6/glue/qtmultimedia.cpp @@ -25,5 +25,5 @@ const auto size = %CPPSELF.byteCount(); // @snippet qtaudio-namespace-compatibility-alias auto *obType = reinterpret_cast<PyObject *>(pyType); Py_INCREF(obType); -PyModule_AddObject(module, "QtAudio", obType); +PepModule_AddType(module, pyType); // @snippet qtaudio-namespace-compatibility-alias |
