diff --git a/Userland/Libraries/LibGUI/FilePicker.cpp b/Userland/Libraries/LibGUI/FilePicker.cpp index 4be64268e7..080fb8d63b 100644 --- a/Userland/Libraries/LibGUI/FilePicker.cpp +++ b/Userland/Libraries/LibGUI/FilePicker.cpp @@ -89,7 +89,6 @@ FilePicker::FilePicker(Window* parent_window, Mode mode, StringView filename, St VERIFY_NOT_REACHED(); auto& toolbar = *widget.find_descendant_of_type_named("toolbar"); - toolbar.set_has_frame(false); m_location_textbox = *widget.find_descendant_of_type_named("location_textbox"); m_location_textbox->set_text(path); diff --git a/Userland/Libraries/LibGUI/Toolbar.h b/Userland/Libraries/LibGUI/Toolbar.h index 5526a5fd98..1c5e2686cf 100644 --- a/Userland/Libraries/LibGUI/Toolbar.h +++ b/Userland/Libraries/LibGUI/Toolbar.h @@ -24,8 +24,6 @@ public: GUI::Button& add_action(GUI::Action&); void add_separator(); - bool has_frame() const { return m_has_frame; } - void set_has_frame(bool has_frame) { m_has_frame = has_frame; } virtual Optional calculated_preferred_size() const override; @@ -47,7 +45,6 @@ private: NonnullOwnPtrVector m_items; const Gfx::Orientation m_orientation; int m_button_size { 16 }; - bool m_has_frame { true }; }; }