]> git.sesse.net Git - vlc/commitdiff
Qt4 - Fix behaviour with --qt-display-mode 2
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 31 Jan 2008 08:40:51 +0000 (08:40 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 31 Jan 2008 08:40:51 +0000 (08:40 +0000)
modules/gui/qt4/main_interface.cpp

index 85d2a1f989c4001e6098d09800467f565c814cd2..9f18dcfad2ddf4d8cf8ebfac670c167ab0778a51 100644 (file)
@@ -175,6 +175,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     statusBar()->addPermanentWidget( pgBar, 0 );
     statusBar()->addPermanentWidget( timeLabel, 0 );
 
+
     /* timeLabel behaviour:
        - double clicking opens the goto time dialog
        - right-clicking and clicking just toggle between remaining and
@@ -314,6 +315,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
         togglePlaylist();
     }
 
+    show();
 
    if( i_visualmode == QT_MINIMAL_MODE )
            toggleMinimalView();