1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

DisplaySettings: Remove icon from browse-for-wallpaper button

The icon on this button looked out of place.
This commit is contained in:
Andreas Kling 2021-05-20 00:13:56 +02:00
parent 7f206ca6de
commit 6394ea00d8

View file

@ -61,7 +61,6 @@ void BackgroundSettingsWidget::create_frame()
};
auto& button = *find_descendant_of_type_named<GUI::Button>("wallpaper_open_button");
button.set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/open.png"));
button.on_click = [this](auto) {
auto path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system.");
if (!path.has_value())