mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibGUI: Make GUI::FileIconProvider::icon_for_executable() a public API
This way we can use it instead of icon_for_path() in a bunch of places and avoid loading the full FileIconProvider configuration.
This commit is contained in:
parent
a49fd0ff5e
commit
ffa241250b
6 changed files with 20 additions and 6 deletions
|
@ -36,6 +36,7 @@ class FileIconProvider {
|
|||
public:
|
||||
static Icon icon_for_path(const String&, mode_t);
|
||||
static Icon icon_for_path(const String&);
|
||||
static Icon icon_for_executable(const String&);
|
||||
|
||||
static Icon filetype_image_icon();
|
||||
static Icon directory_icon();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue