summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-11-06 12:41:15 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2023-11-06 22:44:35 +0100
commita8118caad6bec23699fbfd007fa1c0ba45d79277 (patch)
treeb5119269bef9f3c7b756858b47f583c504b1b84d
parentbe55fbede9ed7a283d769fd5cf15a3a56bdcfcf7 (diff)
Remove forward declared QHash
Fixes the complication issue since the typedef was used as class member. Replace the typedef with using statement. Fixes: QTBUG-118627 Pick-to: 6.6 6.5 Change-Id: Ie3d341fb8f18a7341d018f51947127ace941a620 Reviewed-by: James McDonnell <jmcdonnell@blackberry.com> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
-rw-r--r--src/plugins/platforms/qnx/qqnxintegration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/qnx/qqnxintegration.h b/src/plugins/platforms/qnx/qqnxintegration.h
index 590b9450c2..f126300aed 100644
--- a/src/plugins/platforms/qnx/qqnxintegration.h
+++ b/src/plugins/platforms/qnx/qqnxintegration.h
@@ -6,6 +6,7 @@
#include <qpa/qplatformintegration.h>
#include <private/qtguiglobal_p.h>
+#include <QtCore/qhash.h>
#include <QtCore/qmutex.h>
#include <screen/screen.h>
@@ -39,8 +40,7 @@ class QQnxButtonEventNotifier;
class QQnxClipboard;
#endif
-template<class K, class V> class QHash;
-typedef QHash<screen_window_t, QWindow *> QQnxWindowMapper;
+using QQnxWindowMapper = QHash<screen_window_t, QWindow *>;
class QQnxIntegration : public QPlatformIntegration
{