QDialogButtonBox does not need TabFocus
It will now share the same behavior as QGroupBox, which has NoFocus if its not checkable. This doesn't lure AT clients to stop and read its content (this is the case for android accessibility) (designer seems to generate a tooltip for each QDialogButtonBox, which will be read as the name). Change-Id: I6cfacdd9c01299521222c773634df1e36971d982 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This commit is contained in:
parent
42f9a61608
commit
4a7083dd27
@ -211,9 +211,6 @@ void QDialogButtonBoxPrivate::initLayout()
|
||||
q->setSizePolicy(sp);
|
||||
q->setAttribute(Qt::WA_WState_OwnSizePolicy, false);
|
||||
}
|
||||
|
||||
// ### move to a real init() function
|
||||
q->setFocusPolicy(Qt::TabFocus);
|
||||
}
|
||||
|
||||
void QDialogButtonBoxPrivate::resetLayout()
|
||||
|
Loading…
Reference in New Issue
Block a user