mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-24 14:42:53 +02:00
* Set text-antialias render-hint in TrackItemDelegate.
This commit is contained in:
@@ -90,6 +90,8 @@ TrackItemDelegate::sizeHint( const QStyleOptionViewItem& option, const QModelInd
|
||||
void
|
||||
TrackItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const
|
||||
{
|
||||
painter->setRenderHint( QPainter::TextAntialiasing );
|
||||
|
||||
PlayableItem* item = m_model->itemFromIndex( m_model->mapToSource( index ) );
|
||||
Q_ASSERT( item );
|
||||
|
||||
|
Reference in New Issue
Block a user