summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-08 08:02:03 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-08 08:55:25 (GMT)
commit902ee9839bf6d03f5e1ff3f45fb1251d50d752be (patch)
tree27c955893b60a7ea3e27255fb0c551c5a7be926e /src/gui/styles
parent0f290238385f3e272e2b8afcb89a7b64764d72be (diff)
downloadQt-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.cpp2
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: