summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2009-11-23 19:10:53 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2009-11-23 19:11:39 (GMT)
commite494b391984a98ea40867cbe6f6bb01726924162 (patch)
tree4d45a50d6a17c3f9b6cde0c3a2c737da3b0a9a04
parent7ff2d919db8e0addd15c401e5ddda82d061ba5a1 (diff)
downloadQt-e494b391984a98ea40867cbe6f6bb01726924162.zip
Qt-e494b391984a98ea40867cbe6f6bb01726924162.tar.gz
Qt-e494b391984a98ea40867cbe6f6bb01726924162.tar.bz2
Fix background rendering for read-only comboboxes on Maemo5
Reviewed-by: jbache
-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 5566cc6..b32c55b 100644
--- a/src/gui/styles/qgtkstyle.cpp
+++ b/src/gui/styles/qgtkstyle.cpp
@@ -1368,7 +1368,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, style, entryPath + QString::number(focus));
+ GTK_SHADOW_NONE, gtkCombo->style, entryPath + QString::number(focus));
}
gtkCachedPainter.paintShadow(gtkEntry, comboBox->editable ? "entry" : "frame", frameRect, frameState,