From 7440f275fbe6c317b5f3d72460a3639309f40887 Mon Sep 17 00:00:00 2001 From: Greedysky Date: Wed, 15 Sep 2021 21:18:25 +0800 Subject: [PATCH] feat: Add kill single process[524966] --- TTKThirdParty/TTKDumper/miniprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTKThirdParty/TTKDumper/miniprocess.cpp b/TTKThirdParty/TTKDumper/miniprocess.cpp index 9771d57..773bb30 100644 --- a/TTKThirdParty/TTKDumper/miniprocess.cpp +++ b/TTKThirdParty/TTKDumper/miniprocess.cpp @@ -89,7 +89,7 @@ void killProcessByName(const QString &process) void killProcessByName(const QStringList &processes) { QStringList list(getProcessList()); - for(const QString &process : qAsConst(b)) + for(const QString &process : qAsConst(processes)) { if(list.contains(process) && killProcess(process.toStdWString().c_str())) {