summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style_simulated.cpp
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2010-01-25 13:58:56 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-01-25 13:58:56 (GMT)
commit9bb9991b7c6182249cbf922e4718e1c64e3c6433 (patch)
treeeef4e4d511f43a249cc13854d609768716f2d1f5 /src/gui/styles/qs60style_simulated.cpp
parent5f9d86d137eedf45d1067dd54b1d54c2e1eab4b9 (diff)
downloadQt-9bb9991b7c6182249cbf922e4718e1c64e3c6433.zip
Qt-9bb9991b7c6182249cbf922e4718e1c64e3c6433.tar.gz
Qt-9bb9991b7c6182249cbf922e4718e1c64e3c6433.tar.bz2
QListWidget itemActivated does not follow S60 conventions
Set StyleHint SH_ItemView_ActivateItemOnSingleClick inactive for 3.x and 5th edition S60. Task-number: QTBUG-6182 Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/styles/qs60style_simulated.cpp')
-rw-r--r--src/gui/styles/qs60style_simulated.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style_simulated.cpp b/src/gui/styles/qs60style_simulated.cpp
index 557243c..f87cf28 100644
--- a/src/gui/styles/qs60style_simulated.cpp
+++ b/src/gui/styles/qs60style_simulated.cpp
@@ -342,6 +342,11 @@ bool QS60StylePrivate::hasSliderGrooveGraphic()
return false;
}
+bool QS60StylePrivate::isSingleClickUi()
+{
+ return false;
+}
+
QFont QS60StylePrivate::s60Font_specific(
QS60StyleEnums::FontCategories fontCategory,
int pointSize, bool resolveFontSize)