Commit 62e02180 authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮
Browse files

indicatorhelper_win: make sure we kill all kdeconnect executables when Quit is triggered

parent f681911d
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
namespace processes { namespace processes {
const QString dbus_daemon = QStringLiteral("dbus-daemon.exe"); const QString dbus_daemon = QStringLiteral("dbus-daemon.exe");
const QString kdeconnect_daemon = QStringLiteral("kdeconnectd.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 #endif
......
...@@ -22,6 +22,10 @@ IndicatorHelper::IndicatorHelper(const QUrl& indicatorUrl) ...@@ -22,6 +22,10 @@ IndicatorHelper::IndicatorHelper(const QUrl& indicatorUrl)
IndicatorHelper::~IndicatorHelper() { IndicatorHelper::~IndicatorHelper() {
this->terminateProcess(processes::dbus_daemon, m_indicatorUrl); 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); this->terminateProcess(processes::kdeconnect_daemon, m_indicatorUrl);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment