Don't enumerate window titles when we just need a list of PIDs

This commit is contained in:
baldurk
2018-05-23 17:28:56 +01:00
parent ab9a212b8d
commit b3bc00738d
+1 -1
View File
@@ -396,7 +396,7 @@ void LiveCapture::childUpdate()
}
// enumerate processes outside of the lock
QProcessList processes = QProcessInfo::enumerate();
QProcessList processes = QProcessInfo::enumerate(false);
// now since we're adding and removing, we lock around the whole rest of the function. It won't be
// too slow.