Commit 748381c7 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

Qt: additional fix for uninitialized time tooltip

This is neeeded on top on ab05bbd1 for
2.0 only
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ab05bbd1
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#define TIP_HEIGHT 5 #define TIP_HEIGHT 5
TimeTooltip::TimeTooltip( QWidget *parent ) : TimeTooltip::TimeTooltip( QWidget *parent ) :
QWidget( parent ), mInitialized( false ) QWidget( parent )
{ {
setWindowFlags( Qt::Window | setWindowFlags( Qt::Window |
Qt::WindowStaysOnTopHint | Qt::WindowStaysOnTopHint |
...@@ -55,6 +55,8 @@ TimeTooltip::TimeTooltip( QWidget *parent ) : ...@@ -55,6 +55,8 @@ TimeTooltip::TimeTooltip( QWidget *parent ) :
// Set default text // Set default text
setText( "00:00:00", "" ); setText( "00:00:00", "" );
mInitialized = false;
} }
void TimeTooltip::buildPath() void TimeTooltip::buildPath()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment