mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
* There's always enough space for the temp-page close icon.
This commit is contained in:
@@ -664,8 +664,6 @@ SourceDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, co
|
|||||||
if ( opt.state & QStyle::State_MouseOver )
|
if ( opt.state & QStyle::State_MouseOver )
|
||||||
{
|
{
|
||||||
m_iconHeight = ( opt.rect.height() / 2 );
|
m_iconHeight = ( opt.rect.height() / 2 );
|
||||||
|
|
||||||
optIndentation.rect.adjust( 0, 0, -( 4 + m_iconHeight ), 0 );
|
|
||||||
paintStandardItem( painter, optIndentation, index );
|
paintStandardItem( painter, optIndentation, index );
|
||||||
|
|
||||||
// draw close icon
|
// draw close icon
|
||||||
|
Reference in New Issue
Block a user