瀏覽代碼

DisplaySettings: Remove icon from browse-for-wallpaper button

The icon on this button looked out of place.
Andreas Kling 4 年之前
父節點
當前提交
6394ea00d8
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp

+ 0 - 1
Userland/Applications/DisplaySettings/BackgroundSettingsWidget.cpp

@@ -61,7 +61,6 @@ void BackgroundSettingsWidget::create_frame()
     };
     };
 
 
     auto& button = *find_descendant_of_type_named<GUI::Button>("wallpaper_open_button");
     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) {
     button.on_click = [this](auto) {
         auto path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system.");
         auto path = GUI::FilePicker::get_open_filepath(nullptr, "Select wallpaper from file system.");
         if (!path.has_value())
         if (!path.has_value())