diff options
author | Alexander Volkov <avolkov@astralinux.ru> | 2020-05-20 17:12:14 +0300 |
---|---|---|
committer | Alexander Volkov <avolkov@astralinux.ru> | 2020-05-25 08:54:56 +0000 |
commit | a2f9eaf552b58a258beb25d29691fff97276e198 (patch) | |
tree | 29b532f84ce4f73168297a8ae5ecb92b8e6231d3 /src/controls/qquickmenupopupwindow_p.h | |
parent | 052eb295cd5c0d7aa101e7fe30e53ecf3f894361 (diff) | |
download | qtquickcontrols-a2f9eaf552b58a258beb25d29691fff97276e198.tar.gz |
Add missing override
Pick-to: 5.15
Change-Id: Iba896b0af174ed28a27413d7343427cf9b4600d3
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/controls/qquickmenupopupwindow_p.h')
-rw-r--r-- | src/controls/qquickmenupopupwindow_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/controls/qquickmenupopupwindow_p.h b/src/controls/qquickmenupopupwindow_p.h index 8ec6aa5c..15cc5b82 100644 --- a/src/controls/qquickmenupopupwindow_p.h +++ b/src/controls/qquickmenupopupwindow_p.h @@ -57,7 +57,7 @@ public: void setParentWindow(QWindow *effectiveParentWindow, QQuickWindow *parentWindow); void setGeometry(int posx, int posy, int w, int h); - void setParentItem(QQuickItem *); + void setParentItem(QQuickItem *) override; QQuickMenu1 *menu() const; public Q_SLOTS: @@ -71,9 +71,9 @@ Q_SIGNALS: void willBeDeletedLater(); protected: - void focusInEvent(QFocusEvent *); - void exposeEvent(QExposeEvent *); - bool shouldForwardEventAfterDismiss(QMouseEvent *) const; + void focusInEvent(QFocusEvent *) override; + void exposeEvent(QExposeEvent *) override; + bool shouldForwardEventAfterDismiss(QMouseEvent *) const override; private: QQuickItem *m_itemAt; |