]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/main_interface.cpp
Qt4 - Try to improve quitting of the application... Ref #1397
[vlc] / modules / gui / qt4 / main_interface.cpp
index de9f8e2f1e32bbf860c3ee2095a2bd277871c31b..7ea393f475cdb872fc2b7a56a60204c47c1076ba 100644 (file)
@@ -1132,9 +1132,7 @@ void MainInterface::wheelEvent( QWheelEvent *e )
 void MainInterface::closeEvent( QCloseEvent *e )
 {
     hide();
-    vlc_object_kill( p_intf );
-    QApplication::closeAllWindows();
-    QApplication::quit();
+    THEDP->quit();
 }
 
 /*****************************************************************************