mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
mobile UI/login: move onCompleted actions to main
manager.finishSetup() have nothing to do with startpage/divelist, but belong in main (seeing main as responsible for setup and window layout). Move onCompleted functionality to main. Signed-off-by: Jan Iversen <jani@apache.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
48bae80577
commit
d1bee58dad
2 changed files with 2 additions and 5 deletions
|
@ -408,11 +408,6 @@ Kirigami.ScrollablePage {
|
|||
onVisibleChanged: {
|
||||
setupActions();
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
manager.finishSetup();
|
||||
setupActions();
|
||||
}
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
|
|
|
@ -858,8 +858,10 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
|||
rootItem.opacity = 1
|
||||
manager.appendTextToLog("setting the defaultColumnWidth to " + Kirigami.Units.gridUnit * 21)
|
||||
pageStack.defaultColumnWidth = Kirigami.Units.gridUnit * 21
|
||||
manager.finishSetup()
|
||||
manager.appInitialized()
|
||||
}
|
||||
|
||||
/* TODO: Verify where opacity went to.
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
|
|
Loading…
Reference in a new issue