qt4: delete the QApplication when we are finished using it, removes an ugly QObject...
authorRafaël Carré <funman@videolan.org>
Sun, 21 Oct 2007 22:55:13 +0000 (22:55 +0000)
committerRafaël Carré <funman@videolan.org>
Sun, 21 Oct 2007 22:55:13 +0000 (22:55 +0000)
modules/gui/qt4/qt4.cpp

index 977a540..47b1478 100644 (file)
@@ -279,6 +279,7 @@ static void Init( intf_thread_t *p_intf )
 
     /* Launch */
     app->exec();
+    delete app;
 
     /* And quit */
     MainInputManager::killInstance();