IRCClient: Modernize Core::Object usage

This commit is contained in:
Andreas Kling 2020-02-23 09:29:35 +01:00
commit 8efafdfc12
Notes: sideshowbarker 2024-07-19 09:08:58 +09:00
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();
}