[vlc-commits] Qt: additional fix for uninitialized time tooltip

Ludovic Fauvet git at videolan.org
Fri Mar 16 02:14:21 CET 2012


vlc/vlc-2.0 | branch: master | Ludovic Fauvet <etix at l0cal.com> | Fri Mar 16 02:04:53 2012 +0100| [748381c77cb5a17543eac8bd6fc0cd8f791b589a] | committer: Jean-Baptiste Kempf

Qt: additional fix for uninitialized time tooltip

This is neeeded on top on ab05bbd17efddc95596cd3cb2dfc281f942082d1 for
2.0 only

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=748381c77cb5a17543eac8bd6fc0cd8f791b589a
---

 modules/gui/qt4/util/timetooltip.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/util/timetooltip.cpp b/modules/gui/qt4/util/timetooltip.cpp
index e0fa26f..d031e79 100644
--- a/modules/gui/qt4/util/timetooltip.cpp
+++ b/modules/gui/qt4/util/timetooltip.cpp
@@ -30,7 +30,7 @@
 #define TIP_HEIGHT 5
 
 TimeTooltip::TimeTooltip( QWidget *parent ) :
-    QWidget( parent ), mInitialized( false )
+    QWidget( parent )
 {
     setWindowFlags( Qt::Window                  |
                     Qt::WindowStaysOnTopHint    |
@@ -55,6 +55,8 @@ TimeTooltip::TimeTooltip( QWidget *parent ) :
 
     // Set default text
     setText( "00:00:00", "" );
+
+    mInitialized = false;
 }
 
 void TimeTooltip::buildPath()



More information about the vlc-commits mailing list