diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-08 08:02:03 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-08 08:55:25 (GMT) |
commit | 902ee9839bf6d03f5e1ff3f45fb1251d50d752be (patch) | |
tree | 27c955893b60a7ea3e27255fb0c551c5a7be926e /src/gui/styles | |
parent | 0f290238385f3e272e2b8afcb89a7b64764d72be (diff) | |
download | Qt-902ee9839bf6d03f5e1ff3f45fb1251d50d752be.zip Qt-902ee9839bf6d03f5e1ff3f45fb1251d50d752be.tar.gz Qt-902ee9839bf6d03f5e1ff3f45fb1251d50d752be.tar.bz2 |
Let the platform plugin decide on the click policy on itemview
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/gui/styles')
-rw-r--r-- | src/gui/styles/qcommonstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qcommonstyle.cpp b/src/gui/styles/qcommonstyle.cpp index 612258a..5886512 100644 --- a/src/gui/styles/qcommonstyle.cpp +++ b/src/gui/styles/qcommonstyle.cpp @@ -5058,7 +5058,7 @@ int QCommonStyle::styleHint(StyleHint sh, const QStyleOption *opt, const QWidget break; case SH_ItemView_ActivateItemOnSingleClick: - ret = false; + ret = qt_guiPlatformPlugin()->platformHint(QGuiPlatformPlugin::PH_ItemView_ActivateItemOnSingleClick); break; case SH_TitleBar_ModifyNotification: |