mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
DisplaySettings: Set icons from GML
This commit is contained in:
parent
362df5b6dd
commit
caecb6ba72
2 changed files with 5 additions and 4 deletions
|
@ -29,9 +29,6 @@ void DesktopSettingsWidget::create_frame()
|
|||
{
|
||||
load_from_gml(desktop_settings_gml);
|
||||
|
||||
auto& light_bulb_label = *find_descendant_of_type_named<GUI::Label>("light_bulb_label");
|
||||
light_bulb_label.set_icon(Gfx::Bitmap::try_load_from_file("/res/icons/32x32/app-welcome.png").release_value_but_fixme_should_propagate_errors());
|
||||
|
||||
m_workspace_rows_spinbox = *find_descendant_of_type_named<GUI::SpinBox>("workspace_rows_spinbox");
|
||||
m_workspace_columns_spinbox = *find_descendant_of_type_named<GUI::SpinBox>("workspace_columns_spinbox");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue