1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-14 18:35:16 +01:00

Draw the background on the ratings column properly when using QGtkStyle

This commit is contained in:
David Sansome 2010-10-23 23:27:15 +00:00
parent 3a32c41c7e
commit f18f935b67

View File

@ -55,7 +55,8 @@ void PlaylistProxyStyle::drawControl(
}
void PlaylistProxyStyle::drawPrimitive(PrimitiveElement element, const QStyleOption* option, QPainter* painter, const QWidget* widget) const {
if (element == QStyle::PE_PanelItemViewRow)
if (element == QStyle::PE_PanelItemViewRow ||
element == QStyle::PE_PanelItemViewItem)
cleanlooks_->drawPrimitive(element, option, painter, widget);
else
QProxyStyle::drawPrimitive(element, option, painter, widget);