mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:17:35 +00:00
Userland+Base: Treat ".webp" files as images :^)
This commit is contained in:
parent
676e1c2cdc
commit
9fa51987f8
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ bmp=/bin/ImageViewer
|
||||||
jpg=/bin/ImageViewer
|
jpg=/bin/ImageViewer
|
||||||
jpeg=/bin/ImageViewer
|
jpeg=/bin/ImageViewer
|
||||||
qoi=/bin/ImageViewer
|
qoi=/bin/ImageViewer
|
||||||
|
webp=/bin/ImageViewer
|
||||||
tga=/bin/ImageViewer
|
tga=/bin/ImageViewer
|
||||||
ico=/bin/ImageViewer
|
ico=/bin/ImageViewer
|
||||||
html=/bin/Browser
|
html=/bin/Browser
|
||||||
|
|
|
@ -25,7 +25,7 @@ struct FileTypeFilter {
|
||||||
|
|
||||||
static FileTypeFilter image_files()
|
static FileTypeFilter image_files()
|
||||||
{
|
{
|
||||||
return FileTypeFilter { "Image Files", Vector<DeprecatedString> { "png", "gif", "bmp", "dip", "pbm", "pgm", "ppm", "ico", "jpeg", "jpg", "dds", "qoi" } };
|
return FileTypeFilter { "Image Files", Vector<DeprecatedString> { "png", "gif", "bmp", "dip", "pbm", "pgm", "ppm", "ico", "jpeg", "jpg", "dds", "qoi", "webp" } };
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue