diff options
| author | Eike Hein <[email protected]> | 2020-12-28 17:57:44 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-12-28 17:59:14 +0100 |
| commit | b339ac1b5f22efb57619c738eb39268c3e00948d (patch) | |
| tree | e8a0e22c97297b3b74c2b2f4bb63f7e6d884dc4e /src/settings/dolphin_contextmenusettings.kcfgc | |
| parent | b14f98de19b97bcf8ca967f635c6df39963df2b0 (diff) | |
Use a faster way to determine kio-stash isn't installed
Summary:
Dolphin needs to figure out whether or not kio-stash is installed
to set the enabled state of a UI action.
When KProtocolInfo::isKnownProtocol can't find a protocol it gets
worried its protocol cache might be out of date, so it rebuilds it
(doing plenty of disk I/O) and looks again. kio-stash is currently
not yet installed on many systems, so this means most Dolphin
startups out there.
This patch switches to using QDBusConnectionInterface::isServiceRegistered
instead to determine whether the stash notifier daemon is running,
which should be faster than doing disk I/O.
Reviewers: davidedmundson, elvisangelaccio, shortstheory
Subscribers: emmanuelp, alexeymin, ngraham, #dolphin
Differential Revision: https://phabricator.kde.org/D9094
Diffstat (limited to 'src/settings/dolphin_contextmenusettings.kcfgc')
0 files changed, 0 insertions, 0 deletions
