diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-05-06 15:21:27 +0200 |
---|---|---|
committer | Andreas Aardal Hanssen <andreas@hanssen.name> | 2015-05-06 14:46:38 +0000 |
commit | ae050611b4004220071cc49e456bc444d9679ddc (patch) | |
tree | a954d06b693055c5e58811b9ab540a1f540cc0f8 /src/widgets/graphicsview/qgraphicsscene.h | |
parent | 91efad8ef773ce93093e2a795fd389c50e7033f0 (diff) |
Mark QGraphicsScene::focusNextPrevChild as virtual in Qt 6
It's supposed to mirror QWidget's one, but this one isn't virtual,
making it useless.
Change-Id: I0dc531bd12b5e18fa11816c03ef5b3941851198f
Task-number: QTBUG-45633
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsscene.h')
-rw-r--r-- | src/widgets/graphicsview/qgraphicsscene.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/graphicsview/qgraphicsscene.h b/src/widgets/graphicsview/qgraphicsscene.h index b025730bb1..68382bf498 100644 --- a/src/widgets/graphicsview/qgraphicsscene.h +++ b/src/widgets/graphicsview/qgraphicsscene.h @@ -282,6 +282,10 @@ protected: QWidget *widget = 0); protected Q_SLOTS: + // ### Qt 6: make unconditional +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) + virtual +#endif bool focusNextPrevChild(bool next); Q_SIGNALS: |