]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/epg/EPGItem.cpp
qt4: don't hardcode fontsize in epgitem
[vlc] / modules / gui / qt4 / components / epg / EPGItem.cpp
index 13580b5e4e44ab9e19b62fbac03968f9e22cd362..3ec8bac9a8866d4bcd776c1f59bd6dbdc524965d 100644 (file)
@@ -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;