mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
LibGUI/FileIconProvider: Initialize s_filetype_image_icon
This was accidentally removed in 1c90321. Fixes #4125.
This commit is contained in:
parent
149b54e26f
commit
d66087ac2f
Notes:
sideshowbarker
2024-07-19 01:13:16 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/d66087ac2f6 Pull-request: https://github.com/SerenityOS/serenity/pull/4201 Issue: https://github.com/SerenityOS/serenity/issues/4125
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ static void initialize_if_needed()
|
|||
s_symlink_icon = Icon::default_icon("filetype-symlink");
|
||||
s_socket_icon = Icon::default_icon("filetype-socket");
|
||||
s_executable_icon = Icon::default_icon("filetype-executable");
|
||||
s_filetype_image_icon = Icon::default_icon("filetype-image");
|
||||
|
||||
for (auto& filetype : config->keys("Icons")) {
|
||||
s_filetype_icons.set(filetype, Icon::default_icon(String::formatted("filetype-{}", filetype)));
|
||||
|
|
Loading…
Add table
Reference in a new issue