mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 19:37:09 +02:00
* Fixed sidebar animation on win32.
This commit is contained in:
@@ -504,6 +504,8 @@ SourceDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, co
|
|||||||
smaller.setPointSize( smaller.pointSize() - 2 );
|
smaller.setPointSize( smaller.pointSize() - 2 );
|
||||||
painter->setFont( smaller );
|
painter->setFont( smaller );
|
||||||
o.font = smaller;
|
o.font = smaller;
|
||||||
|
#else
|
||||||
|
o.font = painter->font();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( ( option.state & QStyle::State_Enabled ) == QStyle::State_Enabled )
|
if ( ( option.state & QStyle::State_Enabled ) == QStyle::State_Enabled )
|
||||||
|
Reference in New Issue
Block a user