From 3edee6f61e9a76d6171470764a426e6e5cdbba32 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Wed, 24 Aug 2022 09:04:45 +0200 Subject: [PATCH] Install kcm_breezedecoration in separate namespace This way we do not unnecessarily load it by systemsettings. --- kdecoration/config/CMakeLists.txt | 2 +- kstyle/config/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kdecoration/config/CMakeLists.txt b/kdecoration/config/CMakeLists.txt index 45b28544..ac62ef1d 100644 --- a/kdecoration/config/CMakeLists.txt +++ b/kdecoration/config/CMakeLists.txt @@ -1,4 +1,4 @@ -kcoreaddons_add_plugin(kcm_breezedecoration SOURCES kcm_breezedecoration.cpp INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets") +kcoreaddons_add_plugin(kcm_breezedecoration SOURCES kcm_breezedecoration.cpp INSTALL_NAMESPACE "plasma/kcms/breeze") target_include_directories(kcm_breezedecoration PRIVATE ${CMAKE_SOURCE_DIR}/kdecoration ${CMAKE_BINARY_DIR}/kdecoration/) target_link_libraries(kcm_breezedecoration breezecommon5 breezedecoration_STATIC KF5::I18n KF5::CoreAddons KF5::ConfigWidgets Qt::DBus) kcmutils_generate_desktop_file(kcm_breezedecoration) diff --git a/kstyle/config/main.cpp b/kstyle/config/main.cpp index 7a779ccc..d183eded 100644 --- a/kstyle/config/main.cpp +++ b/kstyle/config/main.cpp @@ -28,7 +28,7 @@ int main(int argc, char *argv[]) KCMultiDialog dialog; dialog.setWindowTitle(i18n("Breeze Settings")); dialog.addModule(KPluginMetaData(QStringLiteral("plasma/kcms/systemsettings_qwidgets/breezestyleconfig"))); - dialog.addModule(KPluginMetaData(QStringLiteral("plasma/kcms/systemsettings_qwidgets/kcm_breezedecoration"))); + dialog.addModule(KPluginMetaData(QStringLiteral("plasma/kcms/breeze/kcm_breezedecoration"))); dialog.show(); foreach (auto child, dialog.findChildren()) {