mirror of
https://github.com/videolan/vlc.git
synced 2024-12-03 06:43:40 +08:00
qt4: don't hardcode fontsize in epgitem
This commit is contained in:
parent
9688cdde20
commit
875c3bcf03
@ -73,7 +73,6 @@ void EPGItem::paint( QPainter *painter, const QStyleOptionGraphicsItem*, QWidget
|
||||
|
||||
// Setup the font
|
||||
QFont f = painter->font();
|
||||
f.setPointSize( 9 );
|
||||
f.setBold( true );
|
||||
painter->setFont( f );
|
||||
|
||||
@ -89,7 +88,6 @@ void EPGItem::paint( QPainter *painter, const QStyleOptionGraphicsItem*, QWidget
|
||||
|
||||
f.setBold( false );
|
||||
f.setItalic( true );
|
||||
f.setPointSize( 8 );
|
||||
painter->setFont( f );
|
||||
|
||||
QTextOption textoption;
|
||||
|
Loading…
Reference in New Issue
Block a user