mirror of
https://github.com/tnodir/fort
synced 2024-11-15 10:45:10 +00:00
UI: Improve "System" process' description
This commit is contained in:
parent
5e91989015
commit
21f0a5441a
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
namespace FileUtil {
|
||||
|
||||
QString systemAppDescription();
|
||||
QString systemApp();
|
||||
bool isSystemApp(const QString &path);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user