diff -r ef0373b55136 -r 758a864f9613 src/gui/styles/qgtkstyle.cpp --- a/src/gui/styles/qgtkstyle.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/src/gui/styles/qgtkstyle.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -836,7 +836,10 @@ case PE_PanelItemViewItem: if (const QStyleOptionViewItemV4 *vopt = qstyleoption_cast(option)) { - if (vopt->backgroundBrush.style() != Qt::NoBrush) { + uint resolve_mask = vopt->palette.resolve(); + if (vopt->backgroundBrush.style() != Qt::NoBrush + || (resolve_mask & (1 << QPalette::Base))) + { QPointF oldBO = painter->brushOrigin(); painter->setBrushOrigin(vopt->rect.topLeft()); painter->fillRect(vopt->rect, vopt->backgroundBrush);