From 7f1757b16c82f7398e2386d84d9bae877d5fc39b Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 23 Mar 2019 22:58:53 +0100 Subject: [PATCH] IRCClient: Exit the main loop when closing the app window. --- Applications/IRCClient/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Applications/IRCClient/main.cpp b/Applications/IRCClient/main.cpp index 4ed4ae1e21..a69fbec802 100644 --- a/Applications/IRCClient/main.cpp +++ b/Applications/IRCClient/main.cpp @@ -8,6 +8,7 @@ int main(int argc, char** argv) GApplication app(argc, argv); IRCAppWindow app_window; + app_window.set_should_exit_event_loop_on_close(true); app_window.show(); printf("Entering main loop...\n");