ladybird/Applications/IRCClient/main.cpp
Andreas Kling 72a3f69df7 LibGUI: Get rid of GWindow::should_exit_event_loop_on_close().
This behavior and API was extremely counter-intuitive since our default
behavior was for applications to never exit after you close all of their
windows.

Now that we exit the event loop by default when the very last GWindow is
deleted, we don't have to worry about this.
2019-07-23 18:20:00 +02:00

15 lines
288 B
C++

#include "IRCAppWindow.h"
#include "IRCClient.h"
#include <LibGUI/GApplication.h>
#include <stdio.h>
int main(int argc, char** argv)
{
GApplication app(argc, argv);
IRCAppWindow app_window;
app_window.show();
printf("Entering main loop...\n");
return app.exec();
}