UI: ConfManager::updateDriverServices: Only own service processes

This commit is contained in:
Nodir Temirkhodjaev 2024-07-06 12:18:09 +05:00
parent 454779a1d6
commit c630b51f86

View File

@ -834,9 +834,9 @@ void ConfManager::updateServices()
auto serviceInfoManager = IoC<ServiceInfoManager>();
int runningServicesCount = 0;
const QVector<ServiceInfo> services =
serviceInfoManager->loadServiceInfoList(ServiceInfo::TypeWin32, ServiceInfo::StateAll,
/*displayName=*/false, &runningServicesCount);
const QVector<ServiceInfo> services = serviceInfoManager->loadServiceInfoList(
ServiceInfo::TypeWin32OwnProcess, ServiceInfo::StateAll,
/*displayName=*/false, &runningServicesCount);
serviceInfoManager->monitorServices(services);