diff options
author | Błażej Szczygieł <spaz16@wp.pl> | 2017-01-11 21:07:25 +0100 |
---|---|---|
committer | Błażej Szczygieł <spaz16@wp.pl> | 2017-01-18 22:46:33 +0000 |
commit | 12bb1fb6f2dcac2ac2c336737a52ef0243a1b5ac (patch) | |
tree | 66a23db346ec2364cabf4c769a9c54436d12badd | |
parent | 600c296f4d429ffeb8203feb54efeacc2bbea0f7 (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>
-rw-r--r-- | src/plugins/styles/cleanlooks/qcleanlooksstyle.cpp | 2 |
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; } } |