The SingleClickActivation setting was wired to the wrong platform setting
Change-Id: I24dacd6d6cbc22eaf29dc09a6f59bf4ee7d48f37 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
This commit is contained in:
parent
75067b56fa
commit
809bd1db8c
@ -5004,7 +5004,7 @@ int QCommonStyle::styleHint(StyleHint sh, const QStyleOption *opt, const QWidget
|
||||
case SH_ItemView_ActivateItemOnSingleClick:
|
||||
ret = 0;
|
||||
if (const QPlatformTheme *theme = QGuiApplicationPrivate::platformTheme())
|
||||
ret = theme->themeHint(QPlatformTheme::ToolButtonStyle).toBool() ? 1 : 0;
|
||||
ret = theme->themeHint(QPlatformTheme::ItemViewActivateItemOnSingleClick).toBool() ? 1 : 0;
|
||||
break;
|
||||
case SH_TitleBar_ModifyNotification:
|
||||
ret = true;
|
||||
|
Loading…
Reference in New Issue
Block a user