[vlc-devel] commit: Qt: cleanup dialogs on destruction (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Feb 4 03:23:16 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb  4 03:22:48 2010 +0100| [2e028db617c2cf8da420203de2ea41b594e924dd] | committer: Jean-Baptiste Kempf 

Qt: cleanup dialogs on destruction

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

 modules/gui/qt4/dialogs_provider.cpp |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index 2d3e927..5570974 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -53,8 +53,8 @@
 #include "dialogs/toolbar.hpp"
 #include "dialogs/plugins.hpp"
 #include "dialogs/external.hpp"
-#include "dialogs/errors.hpp"
 #include "dialogs/epg.hpp"
+#include "dialogs/errors.hpp"
 
 #include <QEvent>
 #include <QApplication>
@@ -91,10 +91,17 @@ DialogsProvider::~DialogsProvider()
     ExtendedDialog::killInstance();
     BookmarksDialog::killInstance();
     HelpDialog::killInstance();
+    AboutDialog::killInstance();
 #ifdef UPDATE_CHECK
     UpdateDialog::killInstance();
 #endif
     PluginDialog::killInstance();
+    VLMDialog::killInstance();
+    OpenUrlDialog::killInstance();
+    GotoTimeDialog::killInstance();
+    PodcastConfigDialog::killInstance();
+    EpgDialog::killInstance();
+    ErrorsDialog::killInstance();
 
     delete menusMapper;
     delete menusUpdateMapper;




More information about the vlc-devel mailing list