Skip to content

Commit 35f14de

Browse files
committed
Remove autoRotateLayout from per-output settings screen
autoRotateLayout is a global option that changes the per-output rotateLayout setting at driver creation phase. It has no meaning as per-output setting, hence removed.
1 parent 3312f50 commit 35f14de

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/qml/settings.qml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ PlasmaCore.Dialog {
1313
// 0 - left side, 1 - right side, 2 - active
1414
insertionPoint: 1,
1515
rotateLayout: false,
16-
autoRotateLayout: true,
1716
})
1817

1918
property var desktop: ({
@@ -35,7 +34,6 @@ PlasmaCore.Dialog {
3534
this.settings.engineType = s.engineType;
3635
this.settings.insertionPoint = s.insertionPoint;
3736
this.settings.rotateLayout = s.rotateLayout;
38-
this.settings.autoRotateLayout = s.autoRotateLayout;
3937
}
4038

4139
function show() {
@@ -48,7 +46,6 @@ PlasmaCore.Dialog {
4846
engine.currentIndex = this.settings.engineType;
4947
insertionPoint.currentIndex = this.settings.insertionPoint;
5048
rotateLayout.checkState = this.settings.rotateLayout ? Qt.Checked : Qt.Unchecked;
51-
autoRotateLayout.checkState = this.settings.autoRotateLayout ? Qt.Checked : Qt.Unchecked;
5249

5350
// Update current screen information
5451
this.screenGeometry = Workspace.clientArea(KWin.FullScreenArea, Workspace.activeScreen, Workspace.currentDesktop);
@@ -68,7 +65,6 @@ PlasmaCore.Dialog {
6865
this.settings.engineType = engine.currentIndex;
6966
this.settings.insertionPoint = insertionPoint.currentIndex;
7067
this.settings.rotateLayout = (rotateLayout.checkState == Qt.Checked);
71-
this.settings.autoRotateLayout = (autoRotateLayout.checkState == Qt.Checked);
7268
this.saveSettingsInternal(this.settings, this.desktop);
7369
}
7470

@@ -118,11 +114,6 @@ PlasmaCore.Dialog {
118114
id: rotateLayout;
119115
text: "Rotate Layout"
120116
}
121-
122-
PC3.CheckBox {
123-
id: autoRotateLayout;
124-
text: "Auto Rotate Layout"
125-
}
126117
}
127118

128119
RowLayout {

0 commit comments

Comments
 (0)