LibGUI/FileIconProvider: Initialize s_filetype_image_icon

This was accidentally removed in 1c90321.
Fixes #4125.
This commit is contained in:
Linus Groh 2020-11-28 16:15:19 +00:00 committed by Andreas Kling
parent 149b54e26f
commit d66087ac2f
Notes: sideshowbarker 2024-07-19 01:13:16 +09:00

View file

@ -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)));