summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-23 22:58:53 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-23 22:58:53 +0100
commit7f1757b16c82f7398e2386d84d9bae877d5fc39b (patch)
tree1d94c4aa8804a2a366a9e04ca33908c876863f74 /Applications/IRCClient/main.cpp
parent6416123cfb52703c609c16c9c31c7fa58cfe7a68 (diff)
downloadserenity-7f1757b16c82f7398e2386d84d9bae877d5fc39b.zip
IRCClient: Exit the main loop when closing the app window.
Diffstat (limited to 'Applications/IRCClient/main.cpp')
-rw-r--r--Applications/IRCClient/main.cpp1
1 files changed, 1 insertions, 0 deletions
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");