From e7b9e03285128a0186693873dc1ebc5a0f85163d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20ASLIT=C3=9CRK?= Date: Sun, 26 Apr 2020 00:01:49 +0300 Subject: [PATCH] LibCore: Open gif files with QuickShow --- Libraries/LibCore/DesktopServices.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Libraries/LibCore/DesktopServices.cpp b/Libraries/LibCore/DesktopServices.cpp index 0f4d37ecd7..ecfb6b61f2 100644 --- a/Libraries/LibCore/DesktopServices.cpp +++ b/Libraries/LibCore/DesktopServices.cpp @@ -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());