]> git.sesse.net Git - vlc/commitdiff
Qt: make the extensionsManager also available for qt4 as a dialog provider.
authorErwan Tulou <erwan10@videolan.org>
Sat, 18 May 2013 13:39:27 +0000 (15:39 +0200)
committerErwan Tulou <erwan10@videolan.org>
Sat, 18 May 2013 14:11:12 +0000 (16:11 +0200)
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/qt4.cpp

index 2f2ca1a28ef7de2fca10be73a27d4f454f80c6a9..ad9165305b30f61637442b034a0a3971460f3c71 100644 (file)
@@ -32,7 +32,6 @@
 #include "main_interface.hpp"
 #include "input_manager.hpp"                    // Creation
 #include "actions_manager.hpp"                  // killInstance
-#include "extensions_manager.hpp"               // killInstance
 
 #include "util/customwidgets.hpp"               // qtEventToVLCKey, QVLCStackedWidget
 #include "util/qt_dirs.hpp"                     // toNativeSeparators
@@ -281,9 +280,6 @@ MainInterface::~MainInterface()
     /* Be sure to kill the actionsManager... Only used in the MI and control */
     ActionsManager::killInstance();
 
-    /* Idem */
-    ExtensionsManager::killInstance();
-
     /* Delete the FSC controller */
     delete fullscreenControls;
 
index 9ed8de6b3bcd85389f4077696dc1dd684bc1295f..c8a545d89e166d86a081516bd9356e1ff1bff504 100644 (file)
@@ -35,6 +35,7 @@
 #include "input_manager.hpp"    /* THEMIM destruction */
 #include "dialogs_provider.hpp" /* THEDP creation */
 #include "main_interface.hpp"   /* MainInterface creation */
+#include "extensions_manager.hpp" /* Extensions manager */
 #include "dialogs/help.hpp"     /* Launch Update */
 #include "recents.hpp"          /* Recents Item destruction */
 #include "util/qvlcapp.hpp"     /* QVLCApplication definition */
@@ -563,6 +564,9 @@ static void *Thread( void *obj )
         delete p_mi;
     }
 
+    /* */
+    ExtensionsManager::killInstance();
+
     /* Destroy all remaining windows,
        because some are connected to some slots
        in the MainInputManager