summaryrefslogtreecommitdiff
path: root/DevTools/Inspector
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-04 09:43:54 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-04 13:49:48 +0100
commit4697195645a4c66930761c85685f5752dc777bba (patch)
treecc77feb29541d43323a5edce70f05412ab1e8e68 /DevTools/Inspector
parent03e0ddce5237b6ad7b84724ef03039e413944f00 (diff)
downloadserenity-4697195645a4c66930761c85685f5752dc777bba.zip
LibGUI: Use set_layout<LayoutType>() in lots of client code
Diffstat (limited to 'DevTools/Inspector')
-rw-r--r--DevTools/Inspector/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/Inspector/main.cpp b/DevTools/Inspector/main.cpp
index 611d52491e..ffb1cf288b 100644
--- a/DevTools/Inspector/main.cpp
+++ b/DevTools/Inspector/main.cpp
@@ -61,7 +61,7 @@ int main(int argc, char** argv)
auto widget = GUI::Widget::construct();
window->set_main_widget(widget);
widget->set_fill_with_background_color(true);
- widget->set_layout(make<GUI::VerticalBoxLayout>());
+ widget->set_layout<GUI::VerticalBoxLayout>();
auto splitter = widget->add<GUI::HorizontalSplitter>();