diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 14:19:05 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 15:25:08 +0200 |
commit | c7437f9caa5485d99e0101bfac98d968e767741f (patch) | |
tree | 0268e791f6d419da644eca6fc6789e5429c10848 /Applications/FileManager | |
parent | 6b347747f2f912721bc076fcd4aabb8a4bfa9e98 (diff) | |
download | serenity-c7437f9caa5485d99e0101bfac98d968e767741f.zip |
LibGUI: Convert GLabel to ObjectPtr
Diffstat (limited to 'Applications/FileManager')
-rw-r--r-- | Applications/FileManager/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index debf987652..a89a5b5abf 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -53,7 +53,7 @@ int main(int argc, char** argv) location_toolbar->layout()->set_margins({ 6, 3, 6, 3 }); location_toolbar->set_preferred_size(0, 25); - auto* location_label = new GLabel("Location: ", location_toolbar); + auto location_label = GLabel::construct("Location: ", location_toolbar); location_label->size_to_fit(); auto* location_textbox = new GTextEditor(GTextEditor::SingleLine, location_toolbar); |