Userland+Base: Treat ".webp" files as images :^)

This commit is contained in:
Andreas Kling 2023-05-01 11:10:56 +02:00
parent 676e1c2cdc
commit 9fa51987f8
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@ bmp=/bin/ImageViewer
jpg=/bin/ImageViewer
jpeg=/bin/ImageViewer
qoi=/bin/ImageViewer
webp=/bin/ImageViewer
tga=/bin/ImageViewer
ico=/bin/ImageViewer
html=/bin/Browser

View file

@ -25,7 +25,7 @@ struct FileTypeFilter {
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" } };
}
};