From 3d6f1e380fa9fc5e1459334e1a2675e4f3e61a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole-Andr=C3=A9=20Rodlie?= Date: Thu, 9 May 2019 15:46:03 +0200 Subject: [PATCH] add fallback icon for appimage #139 --- libfm/fileutils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libfm/fileutils.cpp b/libfm/fileutils.cpp index 87a83db..8c86391 100644 --- a/libfm/fileutils.cpp +++ b/libfm/fileutils.cpp @@ -190,7 +190,8 @@ QIcon FileUtils::searchMimeIcon(QString mime, const QIcon &defaultIcon) { mime.endsWith("disk-image") || mime.endsWith("saturn-rom") || mime.endsWith("wii-rom") || - mime.endsWith("gamecube-rom")) { + mime.endsWith("gamecube-rom") || + mime.endsWith("appimage")) { icon = QIcon::fromTheme("media-optical"); } else if (mime.contains("office")) { if (mime.contains("document")) {