Skip to content
  • Friedrich W. H. Kossebau's avatar
    [kded kcm] Fix estimating dbusModuleName of kded plugins · 6f491642
    Friedrich W. H. Kossebau authored
    Summary:
    The entry X-KDE-DBus-ModuleName has never been used by kded code,
    at least is not using it these days, so the check for that metadata entry
    and using its value is broken.
    
    Instead Kded::loadModule() used KPluginMetaData::pluginId() to set the
    module name, which then is used by KDEDModule for its D-Bus object path.
    
    The branch for handling an empty name is removed as that fallback is
    covered by KPluginMetaData already.
    
    Test Plan:
    KCM now lists all kded plugins, no longer complains about modules it could not
    relate.
    
    Reviewers: dfaure, davidedmundson
    
    Reviewed By: dfaure
    
    Subscribers: plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D13623
    6f491642