Use TabFocusBehavior in QStyleHints in widgets
qt_tab_all_widgets in qapplication.cpp was updated. Change-Id: If7ce14fc132d8a752c0e97450c4c8ecd75526f87 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>bb10
parent
ce10188aa9
commit
be84381664
|
|
@ -432,9 +432,7 @@ inline bool QApplicationPrivate::isAlien(QWidget *widget)
|
|||
|
||||
bool Q_WIDGETS_EXPORT qt_tab_all_widgets()
|
||||
{
|
||||
if (const QPlatformTheme *theme = QGuiApplicationPrivate::platformTheme())
|
||||
return theme->themeHint(QPlatformTheme::TabAllWidgets).toBool();
|
||||
return true;
|
||||
return QGuiApplication::styleHints()->tabFocusBehavior() == Qt::TabFocusAllControls;
|
||||
}
|
||||
|
||||
// ######## move to QApplicationPrivate
|
||||
|
|
|
|||
Loading…
Reference in New Issue