diff --git a/kcms/lookandfeel/lookandfeelmanager.cpp b/kcms/lookandfeel/lookandfeelmanager.cpp index d7a65cc2d..e91013fe5 100644 --- a/kcms/lookandfeel/lookandfeelmanager.cpp +++ b/kcms/lookandfeel/lookandfeelmanager.cpp @@ -27,6 +27,19 @@ LookAndFeelManager::LookAndFeelManager(QObject *parent) : QObject(parent) , m_data(new LookAndFeelData(this)) + , m_applyColors(true) + , m_applyWidgetStyle(true) + , m_applyIcons(true) + , m_applyPlasmaTheme(true) + , m_applyCursors(true) + , m_applyWindowSwitcher(true) + , m_applyDesktopSwitcher(true) + , m_applyWindowPlacement(true) + , m_applyShellPackage(true) + , m_resetDefaultLayout(false) + , m_applyLatteLayout(false) + , m_applyWindowDecoration(true) + , m_plasmashellChanged(false) { m_applyLatteLayout = (KService::serviceByDesktopName("org.kde.latte-dock") != nullptr); } diff --git a/kcms/lookandfeel/lookandfeelmanager.h b/kcms/lookandfeel/lookandfeelmanager.h index 2d0abe903..17ae29cda 100644 --- a/kcms/lookandfeel/lookandfeelmanager.h +++ b/kcms/lookandfeel/lookandfeelmanager.h @@ -93,20 +93,20 @@ private: QStringList m_cursorSearchPaths; LookAndFeelData *const m_data; Mode m_mode = Mode::Apply; - bool m_applyColors : 1 = true; - bool m_applyWidgetStyle : 1 = true; - bool m_applyIcons : 1 = true; - bool m_applyPlasmaTheme : 1 = true; - bool m_applyCursors : 1 = true; - bool m_applyWindowSwitcher : 1 = true; - bool m_applyDesktopSwitcher : 1 = true; - bool m_applyWindowPlacement : 1 = true; - bool m_applyShellPackage : 1 = true; - bool m_resetDefaultLayout : 1 = false; - bool m_applyLatteLayout : 1 = false; - bool m_applyWindowDecoration : 1 = true; - - bool m_plasmashellChanged = false; + bool m_applyColors : 1; + bool m_applyWidgetStyle : 1; + bool m_applyIcons : 1; + bool m_applyPlasmaTheme : 1; + bool m_applyCursors : 1; + bool m_applyWindowSwitcher : 1; + bool m_applyDesktopSwitcher : 1; + bool m_applyWindowPlacement : 1; + bool m_applyShellPackage : 1; + bool m_resetDefaultLayout : 1; + bool m_applyLatteLayout : 1; + bool m_applyWindowDecoration : 1; + + bool m_plasmashellChanged : 1; }; #endif // LOOKANDFEELMANAGER_H