Browse Source

LibCore: Open gif files with QuickShow

Hüseyin ASLITÜRK 5 years ago
parent
commit
e7b9e03285
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Libraries/LibCore/DesktopServices.cpp

+ 3 - 0
Libraries/LibCore/DesktopServices.cpp

@@ -79,6 +79,9 @@ bool open_file_url(const URL& url)
     if (url.path().to_lowercase().ends_with(".png"))
     if (url.path().to_lowercase().ends_with(".png"))
         return spawn("/bin/QuickShow", url.path());
         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"))
     if (url.path().to_lowercase().ends_with(".html"))
         return spawn("/bin/Browser", url.path());
         return spawn("/bin/Browser", url.path());