summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2015-05-06 15:21:27 +0200
committerAndreas Aardal Hanssen <andreas@hanssen.name>2015-05-06 14:46:38 +0000
commitae050611b4004220071cc49e456bc444d9679ddc (patch)
treea954d06b693055c5e58811b9ab540a1f540cc0f8 /src/widgets
parent91efad8ef773ce93093e2a795fd389c50e7033f0 (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')
-rw-r--r--src/widgets/graphicsview/qgraphicsscene.h4
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: