Fix warning for -no-feature-graphicsview
Change-Id: I11ab0c664b860014376c725ea162e62740234ea4 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
parent
21abfc8101
commit
d285409674
@ -6774,12 +6774,12 @@ void QWidget::clearFocus()
|
||||
|
||||
bool QWidget::focusNextPrevChild(bool next)
|
||||
{
|
||||
Q_D(QWidget);
|
||||
QWidget* p = parentWidget();
|
||||
bool isSubWindow = (windowType() == Qt::SubWindow);
|
||||
if (!isWindow() && !isSubWindow && p)
|
||||
return p->focusNextPrevChild(next);
|
||||
#ifndef QT_NO_GRAPHICSVIEW
|
||||
Q_D(QWidget);
|
||||
if (d->extra && d->extra->proxyWidget)
|
||||
return d->extra->proxyWidget->focusNextPrevChild(next);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user