diff --git a/src/ui/fort_images.qrc b/src/ui/fort_images.qrc
index 4485d27c..e5270241 100644
--- a/src/ui/fort_images.qrc
+++ b/src/ui/fort_images.qrc
@@ -32,6 +32,7 @@
images/sheild-96.png
images/textfield_rename.png
images/tick.png
+ images/windows-48.png
images/world.png
images/world_link.png
diff --git a/src/ui/images/windows-48.png b/src/ui/images/windows-48.png
new file mode 100644
index 00000000..1aaef842
Binary files /dev/null and b/src/ui/images/windows-48.png differ
diff --git a/src/ui/util/app/apputil.cpp b/src/ui/util/app/apputil.cpp
index af420637..80b1236c 100644
--- a/src/ui/util/app/apputil.cpp
+++ b/src/ui/util/app/apputil.cpp
@@ -121,15 +121,29 @@ bool extractVersionInfo(const QString &appPath, AppInfo &appInfo)
return true;
}
+bool isSystemApp(const QString &appPath)
+{
+ return appPath.compare("System", Qt::CaseInsensitive) == 0;
+}
+
}
bool AppUtil::getInfo(const QString &appPath, AppInfo &appInfo)
{
+ if (isSystemApp(appPath)) {
+ appInfo.fileDescription = appPath;
+ return true;
+ }
+
return extractVersionInfo(appPath, appInfo);
}
QImage AppUtil::getIcon(const QString &appPath)
{
+ if (isSystemApp(appPath)) {
+ return QImage(":/images/windows-48.png");
+ }
+
return extractShellIcon(appPath)
.toImage();
}