]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/qt4.cpp
at qt4 termination, ensure quit() function is executed in the right thread
[vlc] / modules / gui / qt4 / qt4.cpp
index 7a07f7116360fe7d336fadc133c688438d984f65..5aae67ca08d3b7d72e22edcd712f53696a9f0ccd 100644 (file)
@@ -329,7 +329,7 @@ static void Close( vlc_object_t *p_this )
     intf_sys_t *p_sys = p_intf->p_sys;
 
     var_Destroy (p_this->p_libvlc, "qt4-iface");
-    QApplication::quit();
+    QVLCApp::triggerQuit();
 
     vlc_join (p_sys->thread, NULL);
 #ifdef Q_WS_X11