diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-05-05 09:19:00 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-05-05 09:22:31 (GMT) |
commit | 6b02a101cb96dee4bc574ebec1f91c9243f278fb (patch) | |
tree | 076bf4433826ec7e0b29fc86a46c35ffb1c815aa /src/gui/styles/qcleanlooksstyle.cpp | |
parent | a976ba471d35fd57857b05cee5fdb4d6aa64c961 (diff) | |
download | Qt-6b02a101cb96dee4bc574ebec1f91c9243f278fb.zip Qt-6b02a101cb96dee4bc574ebec1f91c9243f278fb.tar.gz Qt-6b02a101cb96dee4bc574ebec1f91c9243f278fb.tar.bz2 |
Some minor code cleanup
Removes unused code from gkt and cleanlooks.
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/styles/qcleanlooksstyle.cpp')
-rw-r--r-- | src/gui/styles/qcleanlooksstyle.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/styles/qcleanlooksstyle.cpp b/src/gui/styles/qcleanlooksstyle.cpp index ba24d97..d9f7df0 100644 --- a/src/gui/styles/qcleanlooksstyle.cpp +++ b/src/gui/styles/qcleanlooksstyle.cpp @@ -1397,7 +1397,6 @@ void QCleanlooksStyle::drawControl(ControlElement element, const QStyleOption *o dark.lighter(135), 60); QColor highlight = option->palette.highlight().color(); - QColor highlightText = option->palette.highlightedText().color(); switch(element) { case CE_RadioButton: //fall through @@ -2723,7 +2722,6 @@ void QCleanlooksStyle::drawComplexControl(ComplexControl control, const QStyleOp { // Fill title bar gradient QColor titlebarColor = QColor(active ? highlight: palette.background().color()); - QColor titleBarGradientStop(active ? highlight.darker(150): palette.background().color().darker(120)); QLinearGradient gradient(option->rect.center().x(), option->rect.top(), option->rect.center().x(), option->rect.bottom()); @@ -2986,7 +2984,6 @@ void QCleanlooksStyle::drawComplexControl(ComplexControl control, const QStyleOp painter->fillRect(option->rect, option->palette.background()); - QRect rect = scrollBar->rect; QRect scrollBarSubLine = proxy()->subControlRect(control, scrollBar, SC_ScrollBarSubLine, widget); QRect scrollBarAddLine = proxy()->subControlRect(control, scrollBar, SC_ScrollBarAddLine, widget); QRect scrollBarSlider = proxy()->subControlRect(control, scrollBar, SC_ScrollBarSlider, widget); |