summaryrefslogtreecommitdiff
path: root/Applications/About
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/About')
-rw-r--r--Applications/About/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/About/main.cpp b/Applications/About/main.cpp
index e14e07d330..803593c090 100644
--- a/Applications/About/main.cpp
+++ b/Applications/About/main.cpp
@@ -10,7 +10,7 @@ int main(int argc, char** argv)
{
GApplication app(argc, argv);
- auto* window = new GWindow;
+ auto window = GWindow::construct();
window->set_title("About Serenity");
Rect window_rect { 0, 0, 240, 150 };
window_rect.center_within(GDesktop::the().rect());