mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML, cleanup: remove stackView
There is no reason (any more?) to have a property defined that basically renames the global pageStack into a local pageView. Just cleanup. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
5d1c30acbf
commit
4263d1c3f5
4 changed files with 18 additions and 19 deletions
|
@ -292,7 +292,7 @@ Kirigami.Page {
|
|||
onClicked: {
|
||||
manager.cancelDownloadDC()
|
||||
if (!progressBar.visible) {
|
||||
stackView.pop();
|
||||
pageStack.pop();
|
||||
download.text = qsTr("Download")
|
||||
divesDownloaded = false
|
||||
manager.progressMessage = ""
|
||||
|
@ -356,7 +356,7 @@ Kirigami.Page {
|
|||
manager.saveChangesLocal()
|
||||
diveModel.clear()
|
||||
diveModel.addAllDives()
|
||||
stackView.pop();
|
||||
pageStack.pop();
|
||||
download.text = qsTr("Download")
|
||||
divesDownloaded = false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue