diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-04-09 09:44:15 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-04-12 08:53:42 +0200 |
| commit | a0d68856d67ce6e178e3cfc2fccc236707e02fcd (patch) | |
| tree | 5c792b314574a75b388b9ae2979789c0274a26fc /sources/pyside6/PySide6/glue/qtmultimedia.cpp | |
| parent | 556bc8d158b06546343ae2f51b05f555d47442c0 (diff) | |
Multimedia: Adapt to revert of QAudio->QtAudio namespace renaming
Partially revert 4d761eaaf852f8d82925e111150f25c0dd5f3e83.
Adapt to qtmultimedia/7fcea568c9c64f3bcebda21f0df02aa0107dfd0c,
reverting qtmultimedia/edaec2bf714c98d65f12c8ed9a2ffbd1603635a7.
Task-number: QTBUG-123997
Pick-to: 6.7
Change-Id: Ibd0ad737293f4b9107909f37554c03f64bce5d1e
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/glue/qtmultimedia.cpp')
| -rw-r--r-- | sources/pyside6/PySide6/glue/qtmultimedia.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/glue/qtmultimedia.cpp b/sources/pyside6/PySide6/glue/qtmultimedia.cpp index d193b1bd3..ac8434b97 100644 --- a/sources/pyside6/PySide6/glue/qtmultimedia.cpp +++ b/sources/pyside6/PySide6/glue/qtmultimedia.cpp @@ -2,6 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only // @snippet qvideoframe-bits +#include "object.h" %BEGIN_ALLOW_THREADS %RETURN_TYPE %0 = %CPPSELF.%FUNCTION_NAME(%1); %END_ALLOW_THREADS @@ -23,5 +24,5 @@ const auto size = %CPPSELF.byteCount(); // @snippet qtaudio-namespace-compatibility-alias Py_INCREF(pyType); -PyModule_AddObject(module, "QAudio", reinterpret_cast<PyObject *>(pyType)); +PyModule_AddObject(module, "QtAudio", reinterpret_cast<PyObject *>(pyType)); // @snippet qtaudio-namespace-compatibility-alias |
