]> cloud.milkyroute.net Git - dolphin.git/commit
Avoid searching for the knetattach service on startup
authorFelix Ernst <felixernst@kde.org>
Fri, 23 Feb 2024 09:45:53 +0000 (09:45 +0000)
committerFelix Ernst <felixernst@kde.org>
Fri, 23 Feb 2024 09:45:53 +0000 (09:45 +0000)
commit796332d63a32e6fdea83001f4a14c03a8b81228b
treee11b940756b8752261f275e30c97cfaeba96095e
parent41bd0d27fa6f6e9953751dfed6865460082ade6d
Avoid searching for the knetattach service on startup

The installed services might change while Dolphin is running, so it is
better to only search when they are actually needed instead.

The very first time such a search happens (e.g. after updating the
system), is also somewhat slow, which could slow down the very first
Dolphin startup.

This commit might also produce a very slight general startup speed
improvement. However, the measured change is within the margin of
error.
src/dolphinnavigatorswidgetaction.cpp