mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-14 10:24:19 +01:00
Draw the background on the ratings column properly when using QGtkStyle
This commit is contained in:
parent
3a32c41c7e
commit
f18f935b67
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user