1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

DisplaySettings: Set "open wallpaper" button style in GML

This commit is contained in:
Andreas Kling 2021-01-04 15:28:51 +01:00
parent 6041e48eaa
commit ce7b09a3c5
2 changed files with 2 additions and 2 deletions

View file

@ -121,7 +121,6 @@ void DisplaySettingsWidget::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.set_button_style(Gfx::ButtonStyle::CoolBar);
button.on_click = [this](auto) {
Optional<String> open_path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system.");