summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-10-30 11:15:11 (GMT)
committerhjk <qtc-committer@nokia.com>2009-10-30 11:15:11 (GMT)
commit7c04935b278db196b3e67a6b501ec14d852acabd (patch)
tree2424c1a9c90757947cb13e67a4a61ad3473fdd7a /src/gui/styles/qs60style.cpp
parent1bed105d048531e3e260eff0ef2533d7cc8ba7fb (diff)
parent83fff2f970b9a7b41861336c7dca0eadbda28099 (diff)
downloadQt-7c04935b278db196b3e67a6b501ec14d852acabd.zip
Qt-7c04935b278db196b3e67a6b501ec14d852acabd.tar.gz
Qt-7c04935b278db196b3e67a6b501ec14d852acabd.tar.bz2
Merge commit 'mainline/4.6' into 4.6
Diffstat (limited to 'src/gui/styles/qs60style.cpp')
-rw-r--r--src/gui/styles/qs60style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp
index 4c6bc46..8d59d14 100644
--- a/src/gui/styles/qs60style.cpp
+++ b/src/gui/styles/qs60style.cpp
@@ -1377,7 +1377,7 @@ void QS60Style::drawControl(ControlElement element, const QStyleOption *option,
else if (vopt->viewItemPosition == QStyleOptionViewItemV4::End)
yEnd = -1;
}
- highlightRect = option->rect.adjusted(xBeginning, yBeginning, xEnd, xBeginning);
+ highlightRect = option->rect.adjusted(xBeginning, yBeginning, xEnd, yEnd);
}
QS60StylePrivate::drawSkinElement(QS60StylePrivate::SE_ListHighlight, painter, highlightRect, flags);
}