diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-06-05 13:13:50 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-06-05 13:13:50 (GMT) |
commit | bc88cd4796ef8845bbdc40b8b066d3ea1111fc3f (patch) | |
tree | b68dd78e917393145901f7198a2665ce92f1e223 /src | |
parent | 09a0ccc875964cee802da0a18d20373dca240ed2 (diff) | |
download | Qt-bc88cd4796ef8845bbdc40b8b066d3ea1111fc3f.zip Qt-bc88cd4796ef8845bbdc40b8b066d3ea1111fc3f.tar.gz Qt-bc88cd4796ef8845bbdc40b8b066d3ea1111fc3f.tar.bz2 |
Added subElementRect implementation for SE_ItemViewItemCheckIndicator.
S60Style did not implement SE_ItemViewItemCheckIndicator if given
option was somethign else than QStyleOptionViewItemV4. This causes some
autotests to fail. Added appropriate query for QCommonStyle.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/styles/qs60style.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index 83f5a6b..068f5b3 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -2589,6 +2589,8 @@ QRect QS60Style::subElementRect(SubElement element, const QStyleOption *opt, con ret.setRect(opt->rect.right() - indicatorWidth - spacing, opt->rect.top() + heightOffset, indicatorWidth, indicatorHeight); } + } else { + ret = QCommonStyle::subElementRect(element, opt, widget); } break; case SE_HeaderLabel: |