diff options
author | Błażej Szczygieł <spaz16@wp.pl> | 2017-01-11 20:20:57 +0100 |
---|---|---|
committer | Błażej Szczygieł <spaz16@wp.pl> | 2017-01-19 07:04:50 +0000 |
commit | 84b443109729664c7a0bd124b42c493f28069efc (patch) | |
tree | 27558c060e83c6e1987e466d493d6da7406e5d47 /src | |
parent | 12bb1fb6f2dcac2ac2c336737a52ef0243a1b5ac (diff) |
QPlastiqueStyle: Use QCommonStyle instead of QProxyStyle
This change allows to draw the QProgresBar properly as in Qt4. Now the
percent text is inside the progress bar.
Change-Id: I1dac6b958e863d6d450602ab2990c3c2e8ca67c1
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/styles/plastique/qplastiquestyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/styles/plastique/qplastiquestyle.cpp b/src/plugins/styles/plastique/qplastiquestyle.cpp index 0cd342d..88fbca9 100644 --- a/src/plugins/styles/plastique/qplastiquestyle.cpp +++ b/src/plugins/styles/plastique/qplastiquestyle.cpp @@ -3634,7 +3634,7 @@ void QPlastiqueStyle::drawControl(ControlElement element, const QStyleOption *op break; #endif default: - QProxyStyle::drawControl(element, option, painter, widget); + QCommonStyle::drawControl(element, option, painter, widget); break; } } |