bring back Settings::inAdvancedMode

--ViewSettings::complexityLevel is not needed
any more... View::Settings will keep only two
states, Basic and Advanced mode
pull/15/head
Michail Vourlakos 5 years ago
parent a4e9b51b2b
commit 9919952239

@ -83,11 +83,11 @@ PrimaryConfigView::PrimaryConfigView(Plasma::Containment *containment, Latte::Vi
connect(this, &QQuickView::heightChanged, this, &PrimaryConfigView::updateEffects);
connect(this, &PrimaryConfigView::availableScreenGeometryChanged, this, &PrimaryConfigView::syncGeometry);
connect(this, &PrimaryConfigView::complexityChanged, this, &PrimaryConfigView::saveConfig);
connect(this, &PrimaryConfigView::complexityChanged, this, &PrimaryConfigView::updateShowInlineProperties);
connect(this, &PrimaryConfigView::complexityChanged, this, &PrimaryConfigView::syncGeometry);
connect(this, &PrimaryConfigView::inAdvancedModeChanged, this, &PrimaryConfigView::saveConfig);
connect(this, &PrimaryConfigView::inAdvancedModeChanged, this, &PrimaryConfigView::updateShowInlineProperties);
connect(this, &PrimaryConfigView::inAdvancedModeChanged, this, &PrimaryConfigView::syncGeometry);
connect(this, &PrimaryConfigView::complexityChanged, m_latteView, &Latte::View::settingsLevelChanged);
connect(this, &PrimaryConfigView::inAdvancedModeChanged, m_latteView, &Latte::View::inSettingsAdvancedModeChanged);
connect(this, &QQuickView::statusChanged, [&](QQuickView::Status status) {
if (status == QQuickView::Ready) {
@ -153,7 +153,7 @@ void PrimaryConfigView::init()
loadConfig();
//! inform view about the current settings level
emit m_latteView->settingsLevelChanged();
emit m_latteView->inSettingsAdvancedModeChanged();
setDefaultAlphaBuffer(true);
setColor(Qt::transparent);
@ -290,7 +290,7 @@ void PrimaryConfigView::syncGeometry()
switch (m_latteView->formFactor()) {
case Plasma::Types::Horizontal: {
if (m_complexity == Latte::Types::ExpertSettings) {
if (m_inAdvancedMode) {
if (qApp->isLeftToRight()) {
xPos = availGeometry.x() + availGeometry.width() - size.width();
} else {
@ -546,13 +546,11 @@ void PrimaryConfigView::updateShowInlineProperties()
}
bool showSecWindow{false};
bool complexityApprovedSecWindow{false};
bool advancedApprovedSecWindow{false};
if (m_complexity != Latte::Types::BasicSettings
&& !(m_complexity == Latte::Types::ExpertSettings && m_latteView->formFactor() == Plasma::Types::Vertical)) {
if (m_inAdvancedMode && m_latteView->formFactor() != Plasma::Types::Vertical) {
showSecWindow = true;
complexityApprovedSecWindow = true;
advancedApprovedSecWindow = true;
}
//! consider screen geometry for showing or not the secondary window
@ -561,7 +559,7 @@ void PrimaryConfigView::updateShowInlineProperties()
if (m_secConfigView->geometryWhenVisible().intersects(geometryWhenVisible())) {
showSecWindow = false;
} else if (complexityApprovedSecWindow) {
} else if (advancedApprovedSecWindow) {
showSecWindow = true;
}
}
@ -595,20 +593,19 @@ void PrimaryConfigView::updateWaylandId()
}
}
int PrimaryConfigView::complexity() const
bool PrimaryConfigView::inAdvancedMode() const
{
return (int)m_complexity;
return m_inAdvancedMode;
}
void PrimaryConfigView::setComplexity(int complexity)
void PrimaryConfigView::setInAdvancedMode(bool advanced)
{
if ((int)m_complexity == complexity) {
if (m_inAdvancedMode == advanced) {
return;
}
m_complexity = static_cast<Latte::Types::SettingsComplexity>(complexity);
emit complexityChanged();
m_inAdvancedMode = advanced;
emit inAdvancedModeChanged();
}
void PrimaryConfigView::hideConfigWindow()
@ -768,8 +765,8 @@ void PrimaryConfigView::loadConfig()
return;
}
auto config = m_latteView->containment()->config();
int complexity = config.readEntry("settingsComplexity", (int)Latte::Types::BasicSettings);
setComplexity(static_cast<Latte::Types::SettingsComplexity>(complexity));
int complexity = config.readEntry("settingsComplexity", 0);
setInAdvancedMode(complexity>0);
}
void PrimaryConfigView::saveConfig()
@ -779,7 +776,8 @@ void PrimaryConfigView::saveConfig()
}
auto config = m_latteView->containment()->config();
config.writeEntry("settingsComplexity", (int)m_complexity);
int complexity = m_inAdvancedMode ? 1 : 0;
config.writeEntry("settingsComplexity", complexity);
config.sync();
}
//!END configuration

@ -70,8 +70,7 @@ class PrimaryConfigView : public PlasmaQuick::ConfigView
Q_OBJECT
//! used when the secondary config window can not be shown
Q_PROPERTY(bool showInlineProperties READ showInlineProperties NOTIFY showInlinePropertiesChanged)
Q_PROPERTY(int complexity READ complexity WRITE setComplexity NOTIFY complexityChanged)
Q_PROPERTY(bool inAdvancedMode READ inAdvancedMode WRITE setInAdvancedMode NOTIFY inAdvancedModeChanged)
Q_PROPERTY(QRect availableScreenGeometry READ availableScreenGeometry NOTIFY availableScreenGeometryChanged)
@ -92,12 +91,12 @@ public:
Qt::WindowFlags wFlags() const;
bool inAdvancedMode() const;
void setInAdvancedMode(bool advanced);
bool showInlineProperties() const;
bool sticker() const;
int complexity() const;
void setComplexity(int complexity);
QRect availableScreenGeometry() const;
QRect geometryWhenVisible() const;
@ -116,8 +115,8 @@ public slots:
signals:
void availableScreenGeometryChanged();
void complexityChanged();
void enabledBordersChanged();
void inAdvancedModeChanged();
void raiseDocksTemporaryChanged();
void showInlinePropertiesChanged();
void showSignal();
@ -151,11 +150,11 @@ private:
bool m_blockFocusLost{false};
bool m_blockFocusLostOnStartup{true};
bool m_originalByPassWM{false};
bool m_inAdvancedMode{false};
bool m_inReverse{false}; //! it is used by the borders
bool m_showInlineProperties{false};
Latte::Types::Visibility m_originalMode{Latte::Types::DodgeActive};
Latte::Types::SettingsComplexity m_complexity{Latte::Types::BasicSettings};
QRect m_availableScreenGeometry;
QRect m_geometryWhenVisible;

@ -776,6 +776,19 @@ void View::setLatteTasksArePresent(bool present)
emit latteTasksArePresentChanged();
}
bool View::inSettingsAdvancedMode() const
{
if (m_configView) {
auto configView = qobject_cast<ViewPart::PrimaryConfigView *>(m_configView);
if (configView) {
return configView->inAdvancedMode();
}
}
return false;
}
bool View::isTouchingBottomViewAndIsBusy() const
{
return m_isTouchingBottomViewAndIsBusy;
@ -951,19 +964,6 @@ void View::setScreenEdgeMargin(int margin)
emit screenEdgeMarginChanged();
}
int View::settingsLevel() const
{
if (m_configView) {
auto configView = qobject_cast<ViewPart::PrimaryConfigView *>(m_configView);
if (configView) {
return (int)configView->complexity();
}
}
return (int)Latte::Types::BasicSettings;
}
int View::fontPixelSize() const
{
return m_fontPixelSize;

@ -88,6 +88,7 @@ class View : public PlasmaQuick::ContainmentView
Q_PROPERTY(bool byPassWM READ byPassWM WRITE setByPassWM NOTIFY byPassWMChanged)
Q_PROPERTY(bool containsDrag READ containsDrag NOTIFY containsDragChanged)
Q_PROPERTY(bool contextMenuIsShown READ contextMenuIsShown NOTIFY contextMenuIsShownChanged)
Q_PROPERTY(bool inSettingsAdvancedMode READ inSettingsAdvancedMode NOTIFY inSettingsAdvancedModeChanged)
//! Because Latte uses animations, changing to edit mode it may be different than
//! when the isUserConfiguring changes value
@ -112,7 +113,6 @@ class View : public PlasmaQuick::ContainmentView
Q_PROPERTY(int normalThickness READ normalThickness WRITE setNormalThickness NOTIFY normalThicknessChanged)
Q_PROPERTY(int offset READ offset WRITE setOffset NOTIFY offsetChanged)
Q_PROPERTY(int screenEdgeMargin READ screenEdgeMargin WRITE setScreenEdgeMargin NOTIFY screenEdgeMarginChanged)
Q_PROPERTY(int settingsLevel READ settingsLevel NOTIFY settingsLevelChanged)
Q_PROPERTY(float maxLength READ maxLength WRITE setMaxLength NOTIFY maxLengthChanged)
@ -169,6 +169,8 @@ public:
bool latteTasksArePresent() const;
void setLatteTasksArePresent(bool present);
bool inSettingsAdvancedMode() const;
bool isTouchingBottomViewAndIsBusy() const;
void setIsTouchingBottomViewAndIsBusy(bool touchAndBusy);
@ -202,8 +204,6 @@ public:
int alignment() const;
void setAlignment(int alignment);
int settingsLevel() const;
QRect absoluteGeometry() const;
QRect screenGeometry() const;
@ -292,6 +292,7 @@ signals:
void heightChanged();
void inEditModeChanged();
void indicatorChanged();
void inSettingsAdvancedModeChanged();
void isPreferredForShortcutsChanged();
void isTouchingBottomViewAndIsBusyChanged();
void isTouchingTopViewAndIsBusyChanged();
@ -304,7 +305,6 @@ signals:
void offsetChanged();
void onPrimaryChanged();
void positionerChanged();
void settingsLevelChanged();
void screenEdgeMarginChanged();
void screenEdgeMarginEnabledChanged();
void screenGeometryChanged();

@ -36,7 +36,7 @@ Item {
readonly property bool containsMouse: rearrangeBtn.containsMouse || stickOnBottomBtn.containsMouse || stickOnTopBtn.containsMouse
readonly property int thickness: rearrangeBtn.implicitHeight
readonly property bool inExpertSettingsMode: latteView && (latteView.settingsLevel === LatteCore.Types.ExpertSettings)
readonly property bool inSettingsAdvancedMode: latteView && latteView.inSettingsAdvancedMode
rotation: {
if (plasmoid.formFactor === PlasmaCore.Types.Horizontal) {
@ -76,7 +76,7 @@ Item {
SettingsControls.Button{
id: stickOnTopBtn
visible: root.isVertical && inExpertSettingsMode
visible: root.isVertical && inSettingsAdvancedMode
text: i18n("Stick On Top");
tooltip: i18n("Stick maximum available space at top screen edge and ignore any top docks or panels")
@ -135,7 +135,7 @@ Item {
SettingsControls.Button{
id: stickOnBottomBtn
visible: root.isVertical && inExpertSettingsMode
visible: root.isVertical && inSettingsAdvancedMode
text: i18n("Stick On Bottom");
tooltip: i18n("Stick maximum available space at bottom screen edge and ignore any bottom docks or panels")

@ -43,11 +43,8 @@ import "../controls" as LatteExtraControls
FocusScope {
id: dialog
readonly property bool basicLevel: viewConfig.complexity === LatteCore.Types.BasicSettings
readonly property bool advancedLevel: viewConfig.complexity === LatteCore.Types.AdvancedSettings
readonly property bool expertLevel: viewConfig.complexity === LatteCore.Types.ExpertSettings
readonly property bool highLevel: advancedLevel || expertLevel
readonly property bool basicLevel: !advancedLevel
readonly property bool advancedLevel: viewConfig.inAdvancedMode
readonly property bool inConfigureAppletsMode: plasmoid.configuration.inConfigureAppletsMode || !LatteCore.WindowSystem.compositingActive
@ -74,7 +71,7 @@ FocusScope {
property real userScaleWidth: 1
property real userScaleHeight: 1
readonly property real heightLevel: (dialog.expertLevel ? 100 : 1)
readonly property real heightLevel: (dialog.advancedLevel ? 100 : 1)
onHeightChanged: viewConfig.syncGeometry();
@ -100,10 +97,10 @@ FocusScope {
property color bC: theme.backgroundColor
property color transparentBackgroundColor: Qt.rgba(bC.r, bC.g, bC.b, 0.7)
onHighLevelChanged: {
onAdvancedLevelChanged: {
//! switch to appearancePage when effectsPage becomes hidden because
//! advancedLevel was disabled by the user
if (!highLevel && tabGroup.currentTab === effectsPage) {
if (!advancedLevel && tabGroup.currentTab === effectsPage) {
tabGroup.currentTab = appearancePage;
tabBar.currentTab = appearanceTabBtn;
}
@ -152,8 +149,8 @@ FocusScope {
return;
}
updatingWidthScale = metaModifier || (dialog.expertLevel && ctrlModifier);
updatingHeightScale = !dialog.expertLevel && ctrlModifier;
updatingWidthScale = metaModifier || (dialog.advancedLevel && ctrlModifier);
updatingHeightScale = dialog.basicLevel && ctrlModifier;
blockWheel = true;
wheelTriggeredOnce = true;
@ -298,7 +295,7 @@ FocusScope {
Item{
id: headerSpacer
Layout.minimumHeight: complexitySettings.height + 2*units.smallSpacing
Layout.minimumHeight: advancedSettings.height + 2*units.smallSpacing
}
ColumnLayout {
@ -335,7 +332,7 @@ FocusScope {
}
RowLayout {
id: complexitySettings
id: advancedSettings
Layout.fillWidth: true
Layout.rightMargin: units.smallSpacing * 2
Layout.alignment: Qt.AlignRight | Qt.AlignTop
@ -346,7 +343,7 @@ FocusScope {
}
PlasmaComponents.Label {
id: complexityLbl
id: advancedLbl
Layout.alignment: Qt.AlignRight
// opacity: dialog.basicLevel ? basicOpacity : 1
@ -377,26 +374,20 @@ FocusScope {
}
MouseArea {
id: complexityMouseArea
id: advancedMouseArea
anchors.fill: parent
hoverEnabled: true
onClicked: {
complexitySwitch.checked = !complexitySwitch.checked;
advancedSwitch.checked = !advancedSwitch.checked;
}
}
}
LatteComponents.Switch {
id: complexitySwitch
checked: (viewConfig.complexity === LatteCore.Types.ExpertSettings)
onCheckedChanged: {
if (checked) {
viewConfig.complexity = LatteCore.Types.ExpertSettings;
} else {
viewConfig.complexity = LatteCore.Types.BasicSettings;
}
}
id: advancedSwitch
checked: viewConfig.inAdvancedMode
onCheckedChanged: viewConfig.inAdvancedMode = checked;
}
}
}
@ -421,7 +412,7 @@ FocusScope {
id: effectsTabBtn
text: i18n("Effects")
tab: effectsPage
visible: dialog.highLevel
visible: dialog.advancedLevel
}
Repeater {

@ -58,7 +58,7 @@ PlasmaComponents.Page {
Layout.fillWidth: true
Layout.topMargin: units.smallSpacing
spacing: units.smallSpacing
visible: false //dialog.highLevel
visible: false
LatteComponents.Header {
text: i18n("Layout")
@ -138,7 +138,6 @@ PlasmaComponents.Page {
//! BEGIN: Items
ColumnLayout {
Layout.fillWidth: true
//Layout.topMargin: dialog.highLevel ? 0 : units.smallSpacing
Layout.topMargin: units.smallSpacing
spacing: units.smallSpacing
@ -174,7 +173,7 @@ PlasmaComponents.Page {
value: plasmoid.configuration.iconSize
from: 16
to: latteView.visibility.mode === LatteCore.Types.SideBar ? 512 : 256
stepSize: dialog.highLevel || (plasmoid.configuration.iconSize % 8 !== 0) || dialog.viewIsPanel ? 1 : 8
stepSize: dialog.advancedLevel || (plasmoid.configuration.iconSize % 8 !== 0) || dialog.viewIsPanel ? 1 : 8
wheelEnabled: false
function updateIconSize() {
@ -209,7 +208,7 @@ PlasmaComponents.Page {
Layout.minimumWidth: dialog.optionsWidth
Layout.maximumWidth: Layout.minimumWidth
spacing: units.smallSpacing
visible: dialog.expertLevel || plasmoid.configuration.proportionIconSize>0
visible: dialog.advancedLevel || plasmoid.configuration.proportionIconSize>0
PlasmaComponents.Label {
text: i18nc("relative size", "Relative")
@ -424,7 +423,7 @@ PlasmaComponents.Page {
Layout.minimumWidth: dialog.optionsWidth
Layout.maximumWidth: Layout.minimumWidth
spacing: units.smallSpacing
visible: dialog.expertLevel
visible: dialog.advancedLevel
enabled: (plasmoid.configuration.alignment !== LatteCore.Types.Justify)
PlasmaComponents.Label {
@ -483,7 +482,7 @@ PlasmaComponents.Page {
Layout.minimumWidth: dialog.optionsWidth
Layout.maximumWidth: Layout.minimumWidth
spacing: units.smallSpacing
visible: dialog.expertLevel
visible: dialog.advancedLevel
PlasmaComponents.Label {
id: offsetLbl
@ -551,7 +550,7 @@ PlasmaComponents.Page {
Layout.fillWidth: true
spacing: units.smallSpacing
visible: dialog.expertLevel
visible: dialog.advancedLevel
readonly property int maxMargin: 25
@ -701,7 +700,7 @@ PlasmaComponents.Page {
//! BEGIN: Colors
ColumnLayout {
spacing: units.smallSpacing
visible: dialog.expertLevel
visible: dialog.advancedLevel
LatteComponents.Header {
Layout.columnSpan: 4
@ -984,7 +983,7 @@ PlasmaComponents.Page {
}
LatteComponents.SubHeader {
visible: dialog.expertLevel
visible: dialog.advancedLevel
isFirstSubCategory: true
text: i18n("Options")
}
@ -992,7 +991,7 @@ PlasmaComponents.Page {
RowLayout {
Layout.fillWidth: true
spacing: 2
visible: dialog.expertLevel
visible: dialog.advancedLevel
readonly property int buttonSize: (dialog.optionsWidth - (spacing*2)) / 3
@ -1043,7 +1042,7 @@ PlasmaComponents.Page {
}
LatteComponents.SubHeader {
visible: dialog.expertLevel
visible: dialog.advancedLevel
text: i18nc("dynamic visibility for background", "Dynamic Visibility")
enabled: LatteCore.WindowSystem.compositingActive
}
@ -1057,7 +1056,7 @@ PlasmaComponents.Page {
checked: plasmoid.configuration.solidBackgroundForMaximized
tooltip: i18n("Background removes its transparency setting when a window is touching")
enabled: showBackground.checked
visible: dialog.expertLevel
visible: dialog.advancedLevel
onClicked: {
plasmoid.configuration.solidBackgroundForMaximized = checked;
@ -1071,7 +1070,7 @@ PlasmaComponents.Page {
checked: plasmoid.configuration.backgroundOnlyOnMaximized
tooltip: i18n("Background becomes hidden except when a window is touching or the desktop background is busy")
enabled: showBackground.checked
visible: dialog.expertLevel
visible: dialog.advancedLevel
onClicked: {
plasmoid.configuration.backgroundOnlyOnMaximized = checked;
@ -1085,7 +1084,7 @@ PlasmaComponents.Page {
checked: plasmoid.configuration.disablePanelShadowForMaximized
tooltip: i18n("Background shadows become hidden when an active maximized window is touching the view")
enabled: showBackground.checked
visible: dialog.expertLevel
visible: dialog.advancedLevel
onClicked: {
plasmoid.configuration.disablePanelShadowForMaximized = checked;
@ -1094,7 +1093,7 @@ PlasmaComponents.Page {
}
LatteComponents.SubHeader {
visible: dialog.expertLevel
visible: dialog.advancedLevel
text: i18n("Exceptions")
enabled: LatteCore.WindowSystem.compositingActive
}
@ -1106,7 +1105,7 @@ PlasmaComponents.Page {
checked: plasmoid.configuration.plasmaBackgroundForPopups
tooltip: i18n("Background becomes opaque in plasma style when applets are expanded")
enabled: showBackground.checked
visible: dialog.expertLevel
visible: dialog.advancedLevel
onClicked: {
plasmoid.configuration.plasmaBackgroundForPopups = checked;

@ -53,7 +53,7 @@ PlasmaComponents.Page {
spacing: units.smallSpacing
Layout.topMargin: units.smallSpacing
visible: dialog.highLevel && viewConfig.showInlineProperties
visible: dialog.advancedLevel && viewConfig.showInlineProperties
LatteComponents.Header {
text: i18n("Type")
@ -88,7 +88,7 @@ PlasmaComponents.Page {
Layout.leftMargin: units.smallSpacing * 2
Layout.rightMargin: units.smallSpacing * 3
spacing: 2
visible: screensCount > 1 || dialog.expertLevel
visible: screensCount > 1 || dialog.advancedLevel
property int screensCount: 1
@ -533,7 +533,7 @@ PlasmaComponents.Page {
//! BEGIN: Actions
ColumnLayout {
spacing: units.smallSpacing
visible: dialog.expertLevel
visible: dialog.advancedLevel
LatteComponents.Header {
text: i18n("Actions")
@ -705,7 +705,7 @@ PlasmaComponents.Page {
text: i18n("Expand popup through mouse wheel")
checked: plasmoid.configuration.mouseWheelActions
tooltip: i18n("Show or Hide applet popup through mouse wheel action")
visible: dialog.highLevel
visible: dialog.advancedLevel
onClicked: {
plasmoid.configuration.mouseWheelActions = checked
@ -773,7 +773,7 @@ PlasmaComponents.Page {
ColumnLayout {
spacing: units.smallSpacing
visible: dialog.expertLevel
visible: dialog.advancedLevel
enabled: !(latteView.visibility.mode === LatteCore.Types.AlwaysVisible
|| latteView.visibility.mode === LatteCore.Types.WindowsGoBelow
|| latteView.visibility.mode === LatteCore.Types.WindowsCanCover

@ -52,7 +52,7 @@ PlasmaComponents.Page {
ColumnLayout {
spacing: units.smallSpacing
Layout.topMargin: units.smallSpacing
visible: dialog.highLevel
visible: dialog.advancedLevel
LatteComponents.Header {
text: i18n("Badges")
@ -151,7 +151,7 @@ PlasmaComponents.Page {
Layout.maximumWidth: dialog.optionsWidth
text: i18n("Window actions in the context menu")
checked: tasks.configuration.showWindowActions
visible: dialog.highLevel
visible: dialog.advancedLevel
enabled: !disableAllWindowsFunctionality
onClicked: {
@ -165,7 +165,7 @@ PlasmaComponents.Page {
text: i18n("➊ Based on position shortcuts apply only for tasks")
checked: !plasmoid.configuration.unifiedGlobalShortcuts
tooltip: i18n("Based on position global shortcuts are enabled only for tasks and not for applets")
visible: dialog.highLevel
visible: dialog.advancedLevel
enabled: latteView.isPreferredForShortcuts || (!latteView.layout.preferredForShortcutsTouched && latteView.isHighestPriorityView())
onClicked: {
@ -223,7 +223,7 @@ PlasmaComponents.Page {
Layout.maximumWidth: dialog.optionsWidth
text: i18n("Show only tasks from launchers")
checked: tasks.configuration.showWindowsOnlyFromLaunchers
visible: dialog.highLevel
visible: dialog.advancedLevel
onClicked: {
tasks.configuration.showWindowsOnlyFromLaunchers = checked
@ -235,7 +235,7 @@ PlasmaComponents.Page {
text: i18n("Group tasks of the same application")
checked: tasks.configuration.groupTasksByDefault
tooltip: i18n("By default group tasks of the same application")
visible: dialog.highLevel
visible: dialog.advancedLevel
onClicked: {
tasks.configuration.groupTasksByDefault = checked
@ -250,7 +250,7 @@ PlasmaComponents.Page {
ColumnLayout {
spacing: units.smallSpacing
enabled: plasmoid.configuration.animationsEnabled
visible: dialog.highLevel
visible: dialog.advancedLevel
LatteComponents.Header {
text: i18n("Animations")
@ -399,7 +399,7 @@ PlasmaComponents.Page {
//! BEGIN: Scrolling
ColumnLayout {
spacing: units.smallSpacing
visible: dialog.expertLevel
visible: dialog.advancedLevel
LatteComponents.HeaderSwitch {
id: scrollingHeader
@ -481,7 +481,7 @@ PlasmaComponents.Page {
//! BEGIN: Actions
ColumnLayout {
spacing: units.smallSpacing
visible: dialog.expertLevel
visible: dialog.advancedLevel
LatteComponents.Header {
text: i18n("Actions")
@ -693,7 +693,7 @@ PlasmaComponents.Page {
//! BEGIN: Recycling
/* ColumnLayout {
spacing: units.smallSpacing
visible: dialog.expertLevel
visible: dialog.advancedLevel
LatteComponents.Header {
text: i18n("Recycling")

Loading…
Cancel
Save