[vlc-devel] commit: Qt: do not leak ActionsManager on exit. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Jan 24 11:48:46 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 24 11:48:00 2009 +0100| [573949bd38090f93a1d5a91c67133244f9fb95ef] | committer: Jean-Baptiste Kempf 

Qt: do not leak ActionsManager on exit.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=573949bd38090f93a1d5a91c67133244f9fb95ef
---

 modules/gui/qt4/main_interface.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index b2faf05..bce2c8c 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -31,6 +31,7 @@
 
 #include "main_interface.hpp"
 #include "input_manager.hpp"
+#include "actions_manager.hpp"
 
 #include "util/customwidgets.hpp"
 #include "util/qt_dirs.hpp"
@@ -249,6 +250,8 @@ MainInterface::~MainInterface()
         delete playlistWidget;
     }
 
+    ActionsManager::killInstance();
+
     settings->beginGroup( "MainWindow" );
 
     settings->setValue( "pl-dock-status", (int)i_pl_dock );




More information about the vlc-devel mailing list