Ticket #9: let the demo application close gracefully when choosing File->Quit or...
authorlmancini <lmancini@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 18 Mar 2008 11:56:18 +0000 (11:56 +0000)
committerlmancini <lmancini@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 18 Mar 2008 11:56:18 +0000 (11:56 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1198 38d2e660-2303-0410-9eaa-f027e97ec537

emul/emulwin.cpp

index b5b516a6cd70bb7c984315aa5c9f53f0110b5b48..b5f57cd455a61fd328355a7418cb8ea99e6a35ad 100644 (file)
@@ -111,6 +111,7 @@ EmulWin::~EmulWin()
 
 void EmulWin::closeEvent(QCloseEvent *ce)
 {
+       emul->quit();
        ce->accept();
 }