[vlc-commits] commit: qt4: don't hardcode fontsize in epgitem (Ilkka Ollakka )

git at videolan.org git at videolan.org
Fri Jun 4 15:28:01 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Fri Jun  4 16:27:00 2010 +0300| [875c3bcf035af67f9069ce0ca4f32c36fd2d7079] | committer: Ilkka Ollakka 

qt4: don't  hardcode fontsize in epgitem

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=875c3bcf035af67f9069ce0ca4f32c36fd2d7079
---

 modules/gui/qt4/components/epg/EPGItem.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/epg/EPGItem.cpp b/modules/gui/qt4/components/epg/EPGItem.cpp
index 13580b5..3ec8bac 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;



More information about the vlc-commits mailing list