Base: Add Icon for Partition Editor

This adds a 16x16 and 32x32 icon that is missing for the Partition
Editor.
This commit is contained in:
electrikmilk 2022-08-13 17:17:01 -04:00 committed by Linus Groh
parent 849495915b
commit a5cef2c41a
4 changed files with 2 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

View file

@ -11,5 +11,5 @@ set(SOURCES
PartitionModel.cpp
)
serenity_app(PartitionEditor ICON app-space-analyzer)
serenity_app(PartitionEditor ICON app-partition-editor)
target_link_libraries(PartitionEditor LibMain LibGUI LibPartition)

View file

@ -39,8 +39,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
// FIXME: PartitionEditor needs its own icon.
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-space-analyzer"sv));
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-partition-editor"sv));
auto window = TRY(GUI::Window::try_create());
window->set_title("Partition Editor");