[vlmc-devel] [PATCH] fix Ctrl+Q doesn't call CloseEvent from QApplication::quit()

Hieu Pham phamhuuquanghieu at gmail.com
Fri Mar 10 02:37:30 CET 2017


---
 src/Gui/MainWindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index 43fc3c8..37e3507 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -633,7 +633,7 @@ void
 MainWindow::on_actionQuit_triggered()
 {
     saveSettings();
-    QApplication::quit();
+    close();
 }
 
 void
-- 
2.9.3



More information about the Vlmc-devel mailing list