summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/IRCClient/main.cpp')
-rw-r--r--Applications/IRCClient/main.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Applications/IRCClient/main.cpp b/Applications/IRCClient/main.cpp
index cbfe8386ef..b5e681730c 100644
--- a/Applications/IRCClient/main.cpp
+++ b/Applications/IRCClient/main.cpp
@@ -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();
}