From: Ilkka Ollakka Date: Fri, 4 Jun 2010 13:27:00 +0000 (+0300) Subject: qt4: don't hardcode fontsize in epgitem X-Git-Tag: 1.2.0-pre1~6317 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=875c3bcf035af67f9069ce0ca4f32c36fd2d7079;p=vlc qt4: don't hardcode fontsize in epgitem --- diff --git a/modules/gui/qt4/components/epg/EPGItem.cpp b/modules/gui/qt4/components/epg/EPGItem.cpp index 13580b5e4e..3ec8bac9a8 100644 --- a/modules/gui/qt4/components/epg/EPGItem.cpp +++ b/modules/gui/qt4/components/epg/EPGItem.cpp @@ -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;