aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/qtcorehelper.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-10-27 09:23:57 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-10-31 13:08:30 +0100
commite5b73863109c24d8bcbed07c4e19f99c23930bff (patch)
tree9824701623ea050081a4a97fc5aa37d098190388 /sources/pyside6/PySide6/qtcorehelper.h
parente52b2c9ed9bb86042811b36a910f79dd94fbe0cc (diff)
Fix build error with forward declarations
Amends f1bcf7d077282f9248aee570545765ef60af00e3. Pick-to: 6.4 6.2 Task-number: PYSIDE-1339 Task-number: PYSIDE-904 Task-number: PYSIDE-2099 Change-Id: Ifaf9c36ffb07a561a9521e9abbd39d677c997405 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/qtcorehelper.h')
-rw-r--r--sources/pyside6/PySide6/qtcorehelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/PySide6/qtcorehelper.h b/sources/pyside6/PySide6/qtcorehelper.h
index 8ce18444b..522074cba 100644
--- a/sources/pyside6/PySide6/qtcorehelper.h
+++ b/sources/pyside6/PySide6/qtcorehelper.h
@@ -11,8 +11,8 @@
namespace QtCoreHelper {
- using MutexLocker = QMutexLocker<QMutex>;
- using RecursiveMutexLocker = QMutexLocker<QRecursiveMutex>;
+ using MutexLocker = QT_PREPEND_NAMESPACE(QMutexLocker<QMutex>);
+ using RecursiveMutexLocker = QT_PREPEND_NAMESPACE(QMutexLocker<QRecursiveMutex>);
// ::QMutexLocker is a template with the QMutex class as parameter which can
// only be represented by different type names in Python. Provide a common API.