diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-15 14:10:08 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-15 14:11:27 (GMT) |
commit | 7e22fb22acffe1d0f101a8ab3ef05a4ef7ad9b83 (patch) | |
tree | 44b1a7333d108f88ebd4c496f52c5609020bd854 /src/gui/styles | |
parent | 3f396bdd8736014957ff2491d01ec495034c5c88 (diff) | |
download | Qt-7e22fb22acffe1d0f101a8ab3ef05a4ef7ad9b83.zip Qt-7e22fb22acffe1d0f101a8ab3ef05a4ef7ad9b83.tar.gz Qt-7e22fb22acffe1d0f101a8ab3ef05a4ef7ad9b83.tar.bz2 |
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')
-rw-r--r-- | src/gui/styles/qgtkstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qgtkstyle.cpp b/src/gui/styles/qgtkstyle.cpp index abb9e1e..211f4ce 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, |