summaryrefslogtreecommitdiff
path: root/DevTools/HackStudio/Locator.cpp
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/HackStudio/Locator.cpp
parent03e0ddce5237b6ad7b84724ef03039e413944f00 (diff)
downloadserenity-4697195645a4c66930761c85685f5752dc777bba.zip
LibGUI: Use set_layout<LayoutType>() in lots of client code
Diffstat (limited to 'DevTools/HackStudio/Locator.cpp')
-rw-r--r--DevTools/HackStudio/Locator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/HackStudio/Locator.cpp b/DevTools/HackStudio/Locator.cpp
index 9724d41347..5ea40170f9 100644
--- a/DevTools/HackStudio/Locator.cpp
+++ b/DevTools/HackStudio/Locator.cpp
@@ -103,7 +103,7 @@ Locator::Locator()
s_header_icon = Gfx::Bitmap::load_from_file("/res/icons/16x16/filetype-header.png");
}
- set_layout(make<GUI::VerticalBoxLayout>());
+ set_layout<GUI::VerticalBoxLayout>();
set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed);
set_preferred_size(0, 20);
m_textbox = add<LocatorTextBox>();