1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

LibCore: Open gif files with QuickShow

This commit is contained in:
Hüseyin ASLITÜRK 2020-04-26 00:01:49 +03:00 committed by Andreas Kling
parent 679702045d
commit e7b9e03285

View file

@ -79,6 +79,9 @@ bool open_file_url(const URL& url)
if (url.path().to_lowercase().ends_with(".png"))
return spawn("/bin/QuickShow", url.path());
if (url.path().to_lowercase().ends_with(".gif"))
return spawn("/bin/QuickShow", url.path());
if (url.path().to_lowercase().ends_with(".html"))
return spawn("/bin/Browser", url.path());