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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user