1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

IRCClient: Modernize Core::Object usage

This commit is contained in:
Andreas Kling 2020-02-23 09:29:35 +01:00
parent a70cc5ca1d
commit 8efafdfc12
4 changed files with 27 additions and 25 deletions

View file

@ -43,9 +43,7 @@ int main(int argc, char** argv)
return 1;
}
IRCAppWindow app_window;
app_window.show();
printf("Entering main loop...\n");
auto app_window = IRCAppWindow::construct();
app_window->show();
return app.exec();
}