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

git at videolan.org git at videolan.org
Tue Jun 15 21:58:54 CEST 2010


vlc/vlc-1.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Fri Jun  4 16:27:00 2010 +0300| [081073b260adfb560e5fbbfef05c7be37fab551e] | committer: Ilkka Ollakka 

qt4: don't  hardcode fontsize in epgitem
(cherry picked from commit 875c3bcf035af67f9069ce0ca4f32c36fd2d7079)

Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=081073b260adfb560e5fbbfef05c7be37fab551e
---

 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