]> git.sesse.net Git - vlc/commitdiff
Qt: Delay system tray creation
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 25 Sep 2011 23:38:31 +0000 (01:38 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 25 Sep 2011 23:38:31 +0000 (01:38 +0200)
modules/gui/qt4/main_interface.cpp

index c873273858e0e2608f09870676a1e4291820d510..ade5b4e90c0080dfce011b558176f36942d44b4b 100644 (file)
@@ -138,11 +138,6 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
 
     settings->endGroup( );
 
-    /*********************************
-     * Create the Systray Management *
-     *********************************/
-    initSystray();
-
     /**************************
      *  UI and Widgets design
      **************************/
@@ -174,6 +169,11 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     taskbar_wmsg = RegisterWindowMessage("TaskbarButtonCreated");
 #endif
 
+    /*********************************
+     * Create the Systray Management *
+     *********************************/
+    initSystray();
+
     /************************************************************
      * Connect the input manager to the GUI elements it manages *
      ************************************************************/