From 62e02180dfa8ad048b39cc5903046920341191c7 Mon Sep 17 00:00:00 2001 From: Piyush Aggarwal Date: Tue, 15 Jun 2021 13:33:51 +0530 Subject: [PATCH] indicatorhelper_win: make sure we kill all kdeconnect executables when Quit is triggered --- indicator/indicatorhelper.h | 4 ++++ indicator/indicatorhelper_win.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/indicator/indicatorhelper.h b/indicator/indicatorhelper.h index 7474ce6c6..42d305528 100644 --- a/indicator/indicatorhelper.h +++ b/indicator/indicatorhelper.h @@ -21,6 +21,10 @@ namespace processes { const QString dbus_daemon = QStringLiteral("dbus-daemon.exe"); const QString kdeconnect_daemon = QStringLiteral("kdeconnectd.exe"); + const QString kdeconnect_app = QStringLiteral("kdeconnect-app.exe"); + const QString kdeconnect_handler = QStringLiteral("kdeconnect-handler.exe"); + const QString kdeconnect_settings = QStringLiteral("kdeconnect-settings.exe"); + const QString kdeconnect_sms = QStringLiteral("kdeconnect-sms.exe"); }; #endif diff --git a/indicator/indicatorhelper_win.cpp b/indicator/indicatorhelper_win.cpp index d52ece00b..9ed208688 100644 --- a/indicator/indicatorhelper_win.cpp +++ b/indicator/indicatorhelper_win.cpp @@ -22,6 +22,10 @@ IndicatorHelper::IndicatorHelper(const QUrl& indicatorUrl) IndicatorHelper::~IndicatorHelper() { this->terminateProcess(processes::dbus_daemon, m_indicatorUrl); + this->terminateProcess(processes::kdeconnect_app, m_indicatorUrl); + this->terminateProcess(processes::kdeconnect_handler, m_indicatorUrl); + this->terminateProcess(processes::kdeconnect_settings, m_indicatorUrl); + this->terminateProcess(processes::kdeconnect_sms, m_indicatorUrl); this->terminateProcess(processes::kdeconnect_daemon, m_indicatorUrl); }