From a089361356e73bcd721f14314ec9745bbf28c5be Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 5 Jul 2022 17:37:34 +0200 Subject: [PATCH] Port from QProcess::pid to ::processId The former is deprecated --- src/signond/pluginproxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/signond/pluginproxy.cpp b/src/signond/pluginproxy.cpp index d31c7126..582aef49 100644 --- a/src/signond/pluginproxy.cpp +++ b/src/signond/pluginproxy.cpp @@ -125,10 +125,10 @@ PluginProxy::~PluginProxy() if (!m_process->waitForFinished(PLUGINPROCESS_STOP_TIMEOUT)) { - if (m_process->pid()) { + if (m_process->processId()) { qCritical() << "The signon plugin seems to ignore kill(), " "killing it from command line"; - QString killProcessCommand(QString::fromLatin1("kill -9 %1").arg(m_process->pid())); + QString killProcessCommand(QString::fromLatin1("kill -9 %1").arg(m_process->processId())); QProcess::execute(killProcessCommand); } } -- GitLab