summaryrefslogtreecommitdiff
path: root/src/gui/styles/qgtkstyle.cpp
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2010-01-15 15:10:08 +0100
committerJens Bache-Wiig <jbache@trolltech.com>2010-01-15 15:11:27 +0100
commit7e22fb22acffe1d0f101a8ab3ef05a4ef7ad9b83 (patch)
tree44b1a7333d108f88ebd4c496f52c5609020bd854 /src/gui/styles/qgtkstyle.cpp
parent3f396bdd8736014957ff2491d01ec495034c5c88 (diff)
downloadqt4-tools-7e22fb22acffe1d0f101a8ab3ef05a4ef7ad9b83.tar.gz
Fixes: Cosmetic fix for maemo spin box
Reviewed-by: rgriebl Description: We pass the wrong gtk style the the background. For most desktop styles this has no affect, but it breaks on Hildon.
Diffstat (limited to 'src/gui/styles/qgtkstyle.cpp')
-rw-r--r--src/gui/styles/qgtkstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qgtkstyle.cpp b/src/gui/styles/qgtkstyle.cpp
index abb9e1ea1c..211f4ceae5 100644
--- a/src/gui/styles/qgtkstyle.cpp
+++ b/src/gui/styles/qgtkstyle.cpp
@@ -1377,7 +1377,7 @@ void QGtkStyle::drawComplexControl(ComplexControl control, const QStyleOptionCom
else {
gtkCachedPainter.paintFlatBox(gtkEntry, "entry_bg", contentRect,
option->state & State_Enabled ? GTK_STATE_NORMAL : GTK_STATE_INSENSITIVE,
- GTK_SHADOW_NONE, gtkCombo->style, entryPath + QString::number(focus));
+ GTK_SHADOW_NONE, gtkEntry->style, entryPath + QString::number(focus));
}
gtkCachedPainter.paintShadow(gtkEntry, comboBox->editable ? "entry" : "frame", frameRect, frameState,