summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/FilePicker.cpp
diff options
context:
space:
mode:
authorZac <zacary.gillerat@connect.qut.edu.au>2020-11-25 03:41:44 +1000
committerGitHub <noreply@github.com>2020-11-24 18:41:44 +0100
commit018eff802b84f565daad7cd8ef7ff062a7dcab9b (patch)
tree070f3abe0469cbe164da7a87838c973cd6b5468e /Libraries/LibGUI/FilePicker.cpp
parent5f2f31861c60bdbe65014961e812dbf3411e638f (diff)
downloadserenity-018eff802b84f565daad7cd8ef7ff062a7dcab9b.zip
LibGUI: Remove redundant set_title() call in FilePicker (#4153)
Diffstat (limited to 'Libraries/LibGUI/FilePicker.cpp')
-rw-r--r--Libraries/LibGUI/FilePicker.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Libraries/LibGUI/FilePicker.cpp b/Libraries/LibGUI/FilePicker.cpp
index a925bdca74..558195b3f9 100644
--- a/Libraries/LibGUI/FilePicker.cpp
+++ b/Libraries/LibGUI/FilePicker.cpp
@@ -96,7 +96,6 @@ FilePicker::FilePicker(Window* parent_window, Mode mode, Options options, const
set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/save.png"));
break;
}
- set_title(m_mode == Mode::Open ? "Open File" : "Save File");
set_rect(200, 200, 700, 400);
auto& horizontal_container = set_main_widget<Widget>();
horizontal_container.set_layout<HorizontalBoxLayout>();