summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBłażej Szczygieł <spaz16@wp.pl>2017-01-11 21:07:25 +0100
committerBłażej Szczygieł <spaz16@wp.pl>2017-01-18 22:46:33 +0000
commit12bb1fb6f2dcac2ac2c336737a52ef0243a1b5ac (patch)
tree66a23db346ec2364cabf4c769a9c54436d12badd /src
parent600c296f4d429ffeb8203feb54efeacc2bbea0f7 (diff)
QCleanlooksStyle: Use QCommonStyle instead of QProxyStyle
This allows to use correct color (non-white) for label text in a QComboBox. Same as 0daddff57d17715e17b96a02eb7dab9489801e64, but for Cleanlooks. Also improves progress bar drawing - now looks like in Qt4, the progress bar content now fills the entire groove vertically. Change-Id: Ib652bb9a8dfe6806299c0f11211cfa83898f6eef Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp b/src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp
index ca90820..2ebe10f 100644
--- a/src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp
+++ b/src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp
@@ -2325,7 +2325,7 @@ void QCleanlooksStyle::drawControl(ControlElement element, const QStyleOption *o
#endif // QT_NO_TABBAR
default:
- QProxyStyle::drawControl(element,option,painter,widget);
+ QCommonStyle::drawControl(element,option,painter,widget);
break;
}
}