diff options
author | Sami Merila <sami.merila@nokia.com> | 2010-01-25 13:58:56 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2010-01-25 13:58:56 (GMT) |
commit | 9bb9991b7c6182249cbf922e4718e1c64e3c6433 (patch) | |
tree | eef4e4d511f43a249cc13854d609768716f2d1f5 /src/gui/styles/qs60style.cpp | |
parent | 5f9d86d137eedf45d1067dd54b1d54c2e1eab4b9 (diff) | |
download | Qt-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.cpp')
-rw-r--r-- | src/gui/styles/qs60style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index 9dcf291..5a4e6df 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -2436,7 +2436,7 @@ int QS60Style::styleHint(StyleHint sh, const QStyleOption *opt, const QWidget *w retValue = QPalette::Base; break; case SH_ItemView_ActivateItemOnSingleClick: - retValue = true; + retValue = QS60StylePrivate::isSingleClickUi(); break; case SH_ProgressDialog_TextLabelAlignment: retValue = (QApplication::layoutDirection() == Qt::LeftToRight) ? |