Skip to content

Commit ad3c8e9

Browse files
committed
qml: remove unused inSubPage bool
This is not used at all. This is a remnant from a time where the idea was to have the navbar encapsulated within the Wizard control, and this bool would dictate what navbutton to display. We have since moved to each page provides its navbar and its navbuttons.
1 parent 3ea7657 commit ad3c8e9

File tree

5 files changed

+0
-9
lines changed

5 files changed

+0
-9
lines changed

src/qml/components/AboutOptions.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ ColumnLayout {
6565
background: null
6666
onClicked: {
6767
introductions.incrementCurrentIndex()
68-
swipeView.inSubPage = true
6968
}
7069
}
7170
}

src/qml/controls/Wizard.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Page {
1313
background: null
1414
SwipeView {
1515
id: swipeView
16-
property bool inSubPage: false
1716
property bool finished: false
1817
anchors.fill: parent
1918
interactive: false

src/qml/pages/onboarding/OnboardingConnection.qml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ Page {
4444
textColor: Theme.color.orange
4545
onClicked: {
4646
connections.incrementCurrentIndex()
47-
swipeView.inSubPage = true
4847
}
4948
}
5049
lastPage: true
@@ -55,7 +54,6 @@ Page {
5554
text: qsTr("Done")
5655
onClicked: {
5756
connections.decrementCurrentIndex()
58-
swipeView.inSubPage = false
5957
}
6058
}
6159
}

src/qml/pages/onboarding/OnboardingCover.qml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Page {
2525
iconHeight: 24
2626
onClicked: {
2727
introductions.incrementCurrentIndex()
28-
swipeView.inSubPage = true
2928
}
3029
}
3130
bannerItem: Image {
@@ -52,7 +51,6 @@ Page {
5251
text: qsTr("Back")
5352
onClicked: {
5453
introductions.decrementCurrentIndex()
55-
swipeView.inSubPage = false
5654
}
5755
}
5856
}
@@ -62,7 +60,6 @@ Page {
6260
text: qsTr("Back")
6361
onClicked: {
6462
introductions.decrementCurrentIndex()
65-
swipeView.inSubPage = true
6663
}
6764
}
6865
}

src/qml/pages/onboarding/OnboardingStorageAmount.qml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Page {
4646
textColor: "#F7931A"
4747
onClicked: {
4848
storages.incrementCurrentIndex()
49-
swipeView.inSubPage = true
5049
}
5150
}
5251
}
@@ -57,7 +56,6 @@ Page {
5756
text: qsTr("Done")
5857
onClicked: {
5958
storages.decrementCurrentIndex()
60-
swipeView.inSubPage = false
6159
}
6260
}
6361
}

0 commit comments

Comments
 (0)