]> cloud.milkyroute.net Git - dolphin.git/commit
Exclude daemonized processes from Dolphin::attachToExistingInstance()
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Tue, 24 Dec 2019 17:28:26 +0000 (18:28 +0100)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Mon, 16 Mar 2020 21:38:40 +0000 (22:38 +0100)
commitfa806d48dafec0c47141381740a5d7604293d32d
treee1813504cbb2d4b1d9cfe0334e50863b829936f4
parent405dd624fb6b708eea8ec82ef913fe820c51c654
Exclude daemonized processes from Dolphin::attachToExistingInstance()

Summary:
`dolphin --daemon` does not have the `/dolphin/Dolphin_1` dbus path,
because it doesn't have any DolphinMainWindow.

Instead of working around this issue (as we did in D21666 and D25510),
just exclude these processes from the list of dbus instances checked by
`Dolphin::attachToExistingInstance()`.

CCBUG: 408244

Test Plan: Same test plan as in D21666 and D25510

Reviewers: #dolphin

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D26213
src/dbusinterface.cpp
src/dbusinterface.h
src/global.cpp
src/global.h
src/main.cpp