Skip to content

KCM & reloadConfig from plasmoid

Sebastian Goth requested to merge sgoth/kup:feature/cfg-from-plasmoid into master

Plasmoid header with links to KCM and KupDaemon::reloadConfig

image

This started mostly as a quick workaround before i get to debug my actual issue :)

In my setup kup fails to detect the appearance of my backup cifs mount. Calling KupDaemon::reloadConfig fixes that. So that is my use case for the 'reload' button.

As i needed some place to put the button i figured adding the common kcm shortcut would be a good thing too.

For the reload button i opted for adding a KupDaemonService in addition to KupService as a plasmoid exposed interface to the daemon itself. Adding it in the existing cpp/h files for now as they are really small.

I'm not much of an expert in plasmoids. Feel free to call out stupid things :)

Edited by Nate Graham

Merge request reports