diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 17:05:35 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 17:05:35 +0200 |
commit | ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea (patch) | |
tree | 8a66cc12d14da634984978aa387a92537d161915 /Applications/About | |
parent | e4e92980a17449abb315e2267c897529f700525e (diff) | |
download | serenity-ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea.zip |
LibGUI: Convert GWidget to ObjectPtr
Diffstat (limited to 'Applications/About')
-rw-r--r-- | Applications/About/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/About/main.cpp b/Applications/About/main.cpp index a559505cfc..e14e07d330 100644 --- a/Applications/About/main.cpp +++ b/Applications/About/main.cpp @@ -17,7 +17,7 @@ int main(int argc, char** argv) window->set_resizable(false); window->set_rect(window_rect); - auto* widget = new GWidget; + auto widget = GWidget::construct(); window->set_main_widget(widget); widget->set_fill_with_background_color(true); widget->set_layout(make<GBoxLayout>(Orientation::Vertical)); |