[vlc-commits] commit: Qt: extension dialog, show correctly the version ( Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Fri Mar 19 17:51:41 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Mar 19 17:47:42 2010 +0100| [48bf9f81048504abaff5f8dffc84d0bd4c4dadf4] | committer: Jean-Baptiste Kempf 

Qt: extension dialog, show correctly the version

Ref #3414

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

 modules/gui/qt4/dialogs/plugins.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs/plugins.cpp b/modules/gui/qt4/dialogs/plugins.cpp
index ea81998..b854846 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -431,8 +431,7 @@ void ExtensionItemDelegate::paint( QPainter *painter,
     // Version: italic
     font.setItalic( true );
     pixpaint->setFont( font );
-    pixpaint->drawText( QRect( width - 40, 7, 20, metrics.height() ),
-                        Qt::AlignLeft, ext->version );
+    pixpaint->drawText( width - 40, 7 + metrics.height(), ext->version );
 
     // Flush paint operations
     delete pixpaint;



More information about the vlc-commits mailing list