summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qmenu.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-07 09:30:16 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-11 11:05:15 +0200
commit90210c8d28a90295ebbf37ef45b69924ed7f42d0 (patch)
treea67feb9140d069197bbcaf53fe28d71e4be255cd /src/widgets/widgets/qmenu.h
parent219e7bafa278792f7bde110d24333fb60b555c12 (diff)
Remove dead code from src/widgets
Code that's removed via QT_VERSION(6, 0, 0) check is already no longer compiled. Change-Id: I70865f330a6260ac2e9cf2770d599a5b6f7bb7d4 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/widgets/widgets/qmenu.h')
-rw-r--r--src/widgets/widgets/qmenu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/widgets/widgets/qmenu.h b/src/widgets/widgets/qmenu.h
index a163e94c81..b770b27957 100644
--- a/src/widgets/widgets/qmenu.h
+++ b/src/widgets/widgets/qmenu.h
@@ -202,11 +202,7 @@ public:
QAction *exec();
QAction *exec(const QPoint &pos, QAction *at = nullptr);
-#if QT_VERSION >= QT_VERSION_CHECK(6,0,0)
static QAction *exec(const QList<QAction *> &actions, const QPoint &pos, QAction *at = nullptr, QWidget *parent = nullptr);
-#else
- static QAction *exec(QList<QAction*> actions, const QPoint &pos, QAction *at = nullptr, QWidget *parent = nullptr);
-#endif
QSize sizeHint() const override;