From a97b6e0fd6a5eff53e3fccff825998feb4026a34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 23 Aug 2015 20:56:10 +0200 Subject: [PATCH] delete the quit process, not UserActinsMenu BUG: 351643 FIXED-IN: 5.4.1 REVIEW: 124895 --- useractions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/useractions.cpp b/useractions.cpp index 9714a6ecf2..058e1cd5ce 100755 --- a/useractions.cpp +++ b/useractions.cpp @@ -314,7 +314,7 @@ void UserActionsMenu::init() p->setArguments(args); p->setProcessEnvironment(kwinApp()->processStartupEnvironment()); p->setProgram(QStringLiteral("kcmshell5")); - connect(p, static_cast(&QProcess::finished), this, &QProcess::deleteLater); + connect(p, static_cast(&QProcess::finished), p, &QProcess::deleteLater); connect(p, static_cast(&QProcess::error), this, [p] (QProcess::ProcessError e) { if (e == QProcess::FailedToStart) {