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:
parent
91efad8ef7
commit
ae050611b4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user