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
commit e7b9e03285
Notes: sideshowbarker 2024-07-19 07:16:45 +09:00

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