Mac OS: Fix a crash in tst_qgraphicsproxywidget.
Change-Id: Ie93d77f00ee1e6a04ac20794e4d2d1e63cbdb636 Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
This commit is contained in:
parent
4a212be6f0
commit
ef93397d70
@ -356,6 +356,9 @@ QWidget *QGraphicsProxyWidgetPrivate::findFocusChild(QWidget *child, bool next)
|
||||
}
|
||||
}
|
||||
|
||||
if (!child)
|
||||
return 0;
|
||||
|
||||
QWidget *oldChild = child;
|
||||
uint focus_flag = qt_tab_all_widgets() ? Qt::TabFocus : Qt::StrongFocus;
|
||||
do {
|
||||
|
Loading…
Reference in New Issue
Block a user