diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-15 15:10:08 +0100 |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-15 15:11:27 +0100 |
commit | 7e22fb22acffe1d0f101a8ab3ef05a4ef7ad9b83 (patch) | |
tree | 44b1a7333d108f88ebd4c496f52c5609020bd854 /src/gui/styles/qgtkstyle.cpp | |
parent | 3f396bdd8736014957ff2491d01ec495034c5c88 (diff) | |
download | qt4-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.cpp | 2 |
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, |