]> git.sesse.net Git - vlc/commitdiff
qt4: don't hardcode fontsize in epgitem
authorIlkka Ollakka <ileoo@videolan.org>
Fri, 4 Jun 2010 13:27:00 +0000 (16:27 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Fri, 4 Jun 2010 13:27:39 +0000 (16:27 +0300)
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;