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>
This commit is contained in:
Giuseppe D'Angelo 2015-05-06 15:21:27 +02:00 committed by Andreas Aardal Hanssen
parent 91efad8ef7
commit ae050611b4

View File

@ -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: