summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qwindowsmobilestyle.cpp
diff options
context:
space:
mode:
authorDebao Zhang <dbzhang800@gmail.com>2012-03-17 03:18:12 -0700
committerQt by Nokia <qt-info@nokia.com>2012-03-20 08:53:39 +0100
commite7adaed5298cb9fc7c41ec33b68a7d584d709674 (patch)
treee61588eb3757811c9aef2e25ad1fdfcc825a7717 /src/widgets/styles/qwindowsmobilestyle.cpp
parent84ef7704a85c3fee8080ac5c4f1a0922e79e0222 (diff)
QtWidgets: Cleanup Q3* items
Clear all the Q3* items away, expect QStyle::SH_Q3ListViewExpand_SelectMouseType which is still used by QTreeView. So simply removed Q3 from its name. Change-Id: Ia79f0283137b6751ba68791ae55df1d8bd7ea74a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/widgets/styles/qwindowsmobilestyle.cpp')
-rw-r--r--src/widgets/styles/qwindowsmobilestyle.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/widgets/styles/qwindowsmobilestyle.cpp b/src/widgets/styles/qwindowsmobilestyle.cpp
index 30269751ca..863bd1aa62 100644
--- a/src/widgets/styles/qwindowsmobilestyle.cpp
+++ b/src/widgets/styles/qwindowsmobilestyle.cpp
@@ -4875,13 +4875,12 @@ void QWindowsMobileStyle::drawPrimitive(PrimitiveElement element, const QStyleOp
}
//fall through...
}
- case PE_IndicatorViewItemCheck:
- case PE_Q3CheckListIndicator: {
+ case PE_IndicatorViewItemCheck: {
if (!doRestore) {
painter->save();
doRestore = true;
}
- if (element == PE_Q3CheckListIndicator || element == PE_IndicatorViewItemCheck) {
+ if (element == PE_IndicatorViewItemCheck) {
painter->setPen(option->palette.shadow().color());
if (option->state & State_NoChange)
painter->setBrush(option->palette.brush(QPalette::Button));