Commit 314f3854 authored by Jakob Leben's avatar Jakob Leben

Qt: use Title-to-Name fallback for icon text

parent 64ede4fc
...@@ -80,7 +80,7 @@ void PlListViewItemDelegate::paint( QPainter * painter, const QStyleOptionViewIt ...@@ -80,7 +80,7 @@ void PlListViewItemDelegate::paint( QPainter * painter, const QStyleOptionViewIt
painter->setFont( QFont( "Verdana", 7 ) ); painter->setFont( QFont( "Verdana", 7 ) );
QRect textRect = option.rect.adjusted( 1, ART_SIZE + 2, -1, -1 ); QRect textRect = option.rect.adjusted( 1, ART_SIZE + 2, -1, -1 );
painter->drawText( textRect, qfu( input_item_GetTitle( currentItem->inputItem() ) ), painter->drawText( textRect, qfu( input_item_GetTitleFbName( currentItem->inputItem() ) ),
QTextOption( Qt::AlignCenter ) ); QTextOption( Qt::AlignCenter ) );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment