summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreevent.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@kdab.com>2020-06-04 17:39:33 +0900
committerTasuku Suzuki <tasuku.suzuki@kdab.com>2020-06-05 10:23:48 +0900
commit758ee12a9950f7cf88e38a2b6b974e3341991a53 (patch)
treeb0bd6a1f57aae3176c85ffba7a640053f8b3b463 /src/corelib/kernel/qcoreevent.h
parentdf2e029a06f065c82dacc28ec885b4307260b6fb (diff)
Fix build without features.shortcut
Change-Id: I5b0d3b169c7adb3ee340df7b593f84167f1ccc0c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcoreevent.h')
-rw-r--r--src/corelib/kernel/qcoreevent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcoreevent.h b/src/corelib/kernel/qcoreevent.h
index 05af1a6132..bbd95f7a96 100644
--- a/src/corelib/kernel/qcoreevent.h
+++ b/src/corelib/kernel/qcoreevent.h
@@ -323,7 +323,9 @@ private:
friend class QCoreApplicationPrivate;
friend class QThreadData;
friend class QApplication;
+#if QT_CONFIG(shortcut)
friend class QShortcutMap;
+#endif
friend class QGraphicsView;
friend class QGraphicsScene;
friend class QGraphicsScenePrivate;