aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/platform/qquickplatformmenuitem_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/platform/qquickplatformmenuitem_p.h')
-rw-r--r--src/imports/platform/qquickplatformmenuitem_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/platform/qquickplatformmenuitem_p.h b/src/imports/platform/qquickplatformmenuitem_p.h
index f1143e64..e3d5258a 100644
--- a/src/imports/platform/qquickplatformmenuitem_p.h
+++ b/src/imports/platform/qquickplatformmenuitem_p.h
@@ -167,6 +167,7 @@ protected:
QQuickPlatformIconLoader *iconLoader() const;
+ bool event(QEvent *e) override;
private Q_SLOTS:
void activate();
void updateIcon();
@@ -187,6 +188,7 @@ private:
QQuickPlatformMenuItemGroup *m_group;
mutable QQuickPlatformIconLoader *m_iconLoader;
QPlatformMenuItem *m_handle;
+ int m_shortcutId = -1;
friend class QQuickPlatformMenu;
friend class QQuickPlatformMenuItemGroup;