QCommonStyle: use RSIP_OnMouseClick for SH_RequestSoftwareInputPanel
Both Android and iOS needs the style to use RSIP_OnMouseClick (and qwindowscestyle and qwindowsmobilstyle as well, it seems) so set it as default (instead of expanding the #if test even more). Change-Id: I93a78e11031b506c2cb80f30f1946fe25f7945a9 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
This commit is contained in:
parent
88211af86c
commit
61d7be4420
@ -5097,11 +5097,7 @@ int QCommonStyle::styleHint(StyleHint sh, const QStyleOption *opt, const QWidget
|
||||
ret = theme->themeHint(QPlatformTheme::ToolButtonStyle).toInt();
|
||||
break;
|
||||
case SH_RequestSoftwareInputPanel:
|
||||
#ifdef Q_OS_ANDROID
|
||||
ret = RSIP_OnMouseClick;
|
||||
#else
|
||||
ret = RSIP_OnMouseClickAndAlreadyFocused;
|
||||
#endif
|
||||
break;
|
||||
case SH_ScrollBar_Transient:
|
||||
ret = false;
|
||||
|
Loading…
Reference in New Issue
Block a user