1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-22 13:43:11 +02:00

Fix #458: Completely disable BUY buttons in GridItemDelegate instead of only making them invisible

This commit is contained in:
Dominik Schmidt
2016-04-02 13:28:50 +02:00
parent 879df894c3
commit 0341492069

View File

@@ -347,6 +347,8 @@ GridItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
{
if ( !text.isEmpty() )
DropDownButton::drawPrimitive( painter, r, text, m_hoveringOverBuyButton == index, false );
else
m_buyButtonRects.remove( index );
}
else
{