From 7e72e35e163aed8caa515e3e34bacdd66ea60ae6 Mon Sep 17 00:00:00 2001 From: lmancini Date: Tue, 18 Mar 2008 11:56:18 +0000 Subject: [PATCH] Ticket #9: let the demo application close gracefully when choosing File->Quit or clicking on the window manager's 'X'. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1198 38d2e660-2303-0410-9eaa-f027e97ec537 --- emul/emulwin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/emul/emulwin.cpp b/emul/emulwin.cpp index b5b516a6..b5f57cd4 100644 --- a/emul/emulwin.cpp +++ b/emul/emulwin.cpp @@ -111,6 +111,7 @@ EmulWin::~EmulWin() void EmulWin::closeEvent(QCloseEvent *ce) { + emul->quit(); ce->accept(); } -- 2.25.1