summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2009-10-30 11:21:25 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2009-10-30 11:21:25 (GMT)
commit5e95f9c3c224b87840e750d4280806a40ed40c92 (patch)
treee75b6642848c7165065d89d2addefb46283811aa /src/gui/styles
parent83fff2f970b9a7b41861336c7dca0eadbda28099 (diff)
downloadQt-5e95f9c3c224b87840e750d4280806a40ed40c92.zip
Qt-5e95f9c3c224b87840e750d4280806a40ed40c92.tar.gz
Qt-5e95f9c3c224b87840e750d4280806a40ed40c92.tar.bz2
Remove a paintBox call that should have been moved a few lines down, but was instead copied in commit ea13922
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/styles')
-rw-r--r--src/gui/styles/qgtkstyle.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/styles/qgtkstyle.cpp b/src/gui/styles/qgtkstyle.cpp
index d315c98..b8d3674 100644
--- a/src/gui/styles/qgtkstyle.cpp
+++ b/src/gui/styles/qgtkstyle.cpp
@@ -1933,9 +1933,6 @@ void QGtkStyle::drawComplexControl(ComplexControl control, const QStyleOptionCom
QRect grooveRect = option->rect.adjusted(focusFrameMargin, outerSize + focusFrameMargin,
-focusFrameMargin, -outerSize - focusFrameMargin);
- gtkPainter.paintBox( scaleWidget, "trough", grooveRect, state,
- GTK_SHADOW_IN, style, QString(QLS("p%0")).arg(slider->sliderPosition));
-
gboolean trough_side_details = false; // Indicates if the upper or lower scale background differs
if (!QGtk::gtk_check_version(2, 10, 0))
QGtk::gtk_widget_style_get((GtkWidget*)(scaleWidget), "trough-side-details", &trough_side_details, NULL);