Install kcm_breezedecoration in separate namespace

This way we do not unnecessarily load it by systemsettings.
wilder-reb-27
Alexander Lohnau 4 years ago
parent c59441bfdd
commit 3edee6f61e
  1. 2
      kdecoration/config/CMakeLists.txt
  2. 2
      kstyle/config/main.cpp

@ -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)

@ -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<QAbstractScrollArea *>()) {

Loading…
Cancel
Save