1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 14:55:06 +00:00

IRCClient: Exit the main loop when closing the app window.

This commit is contained in:
Andreas Kling 2019-03-23 22:58:53 +01:00
parent 6416123cfb
commit 7f1757b16c

View file

@ -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");