Skip to content

Avoid searching for the knetattach service on startup

Searching through desktop files for a service is slow. Prior to this commit, a search for the "knetattach" service was made on every Dolphin startup even though it is only ever used when opening the "remote:/" location.

This commit makes sure this search only happens when necessary.

I don't have performance metrics here right now. I remember identifying this a while ago using Hotspot ( and I remember it slowed down Dolphin startup by ~2%, but I didn't take a screenshot. I hope it is obvious what I am doing here either way though.

Merge request reports