diff options
Diffstat (limited to 'Applications/Calculator')
-rw-r--r-- | Applications/Calculator/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Calculator/main.cpp b/Applications/Calculator/main.cpp index 082dacb9e8..9e7208a293 100644 --- a/Applications/Calculator/main.cpp +++ b/Applications/Calculator/main.cpp @@ -6,7 +6,7 @@ int main(int argc, char** argv) { GApplication app(argc, argv); - auto* window = new GWindow; + auto window = GWindow::construct(); window->set_title("Calculator"); window->set_resizable(false); window->set_rect({ 300, 200, 254, 213 }); |