indicatorhelper_win: make sure we kill all kdeconnect executables when Quit is triggered
This commit is contained in:
parent
f681911dd3
commit
62e02180df
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue