UI: Improve "System" process' description

This commit is contained in:
Nodir Temirkhodjaev 2022-11-25 12:01:35 +03:00
parent 5e91989015
commit 21f0a5441a
3 changed files with 7 additions and 1 deletions

View File

@ -164,7 +164,7 @@ bool getInfo(const QString &appPath, AppInfo &appInfo)
return false;
if (FileUtil::isSystemApp(appPath)) {
appInfo.fileDescription = FileUtil::systemApp();
appInfo.fileDescription = FileUtil::systemAppDescription();
return true;
}

View File

@ -12,6 +12,11 @@ namespace FileUtil {
Q_STATIC_ASSERT(sizeof(wchar_t) == sizeof(QChar));
QString systemAppDescription()
{
return QStringLiteral("NT Kernel & System");
}
QString systemApp()
{
return QStringLiteral("System");

View File

@ -6,6 +6,7 @@
namespace FileUtil {
QString systemAppDescription();
QString systemApp();
bool isSystemApp(const QString &path);