summaryrefslogtreecommitdiff
path: root/Applications/DisplayProperties/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 17:05:35 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 17:05:35 +0200
commitff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea (patch)
tree8a66cc12d14da634984978aa387a92537d161915 /Applications/DisplayProperties/main.cpp
parente4e92980a17449abb315e2267c897529f700525e (diff)
downloadserenity-ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea.zip
LibGUI: Convert GWidget to ObjectPtr
Diffstat (limited to 'Applications/DisplayProperties/main.cpp')
-rw-r--r--Applications/DisplayProperties/main.cpp2
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();