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/DisplayProperties/main.cpp | |
parent | e4e92980a17449abb315e2267c897529f700525e (diff) | |
download | serenity-ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea.zip |
LibGUI: Convert GWidget to ObjectPtr
Diffstat (limited to 'Applications/DisplayProperties/main.cpp')
-rw-r--r-- | Applications/DisplayProperties/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/DisplayProperties/main.cpp b/Applications/DisplayProperties/main.cpp index 5e0148c805..3743428057 100644 --- a/Applications/DisplayProperties/main.cpp +++ b/Applications/DisplayProperties/main.cpp @@ -14,7 +14,7 @@ int main(int argc, char** argv) window->set_title("Display Properties"); window->resize(400, 448); window->set_resizable(false); - window->set_main_widget(instance.get_root_widget()); + window->set_main_widget(instance.root_widget()); window->set_icon(load_png("/res/icons/16x16/app-display-properties.png")); window->show(); |