subsurface/mobile-widgets/qml
Jan Mulder 2e91de9d95 mobile: initialize credential data in one place
It appears that the onCompleted of the StartPage item is triggered
before the onCompleted of the rootItem. This is logical as the
Startpage is a child of the rootItem. And, yes, this does matter.
As the divelist also contains the logic for initial cloud
registration (and is the default page shown in a state where
the cloud credentials are valid (CS_VERIFIED state)), we need to
know the correct credential state at start of the app.

The move of this one line of code makes sure of that, in addition
to setting the credential state from the preferences. Now, the
setupActions function can reference correct credential data.

This is further preparation for a better cloud creation
process from mobile.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-09-29 08:13:25 -07:00
..
icons Add star icons 2017-08-02 18:49:47 -07:00
About.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00
CloudCredentials.qml QML UI: Settings: remove more margins 2017-08-03 16:00:09 -07:00
dive.jpg Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
DiveDetails.qml QML UI: loose focus on endEditMode 2017-08-02 18:49:47 -07:00
DiveDetailsEdit.qml DiveDetailsEdit: make sure model data exists 2017-08-07 00:51:51 -07:00
DiveDetailsView.qml QML UI: display rating and visibility stars 2017-08-02 18:49:47 -07:00
DiveList.qml mobile: initialize credential data in one place 2017-09-29 08:13:25 -07:00
DownloadedDiveDelegate.qml QML UI: replace all checkboxes with our own 2017-07-26 01:39:26 +09:00
DownloadFromDiveComputer.qml Adjust signature to match data we need 2017-08-26 12:27:12 -07:00
GpsList.qml QML UI: GPS: remove header 2017-08-07 00:52:32 -07:00
HintsTextEdit.qml QML UI: dive edit autocomplete 2017-08-02 18:49:47 -07:00
Log.qml QML UI: drop AppLog title and add margin instead 2017-07-06 09:34:37 -07:00
main.qml mobile: initialize credential data in one place 2017-09-29 08:13:25 -07:00
MapWidget.qml mapwidgethelper: use dynamic creation of the Plugin object 2017-08-24 13:11:39 -07:00
MapWidgetContextMenu.qml mapwidgetcontextmenu: use a QtQuick 2.0 import 2017-09-16 08:35:29 -07:00
mobile-resources.qrc Add star icons 2017-08-02 18:49:47 -07:00
qtquickcontrols2.conf QML UI: Fully port dive edit to Kirigami2 2017-04-01 09:35:51 +02:00
Settings.qml QML UI: Settings: remove more margins 2017-08-03 16:00:09 -07:00
SsrfButton.qml QML UI: add missing id line in our button 2017-07-26 14:13:22 +09:00
SsrfCheckBox.qml QML UI: add our own styled checkbox 2017-07-26 01:39:26 +09:00
SsrfSwitch.qml QML UI: add our own styled switch 2017-07-26 01:39:26 +09:00
StartPage.qml Mobile: consolidate settings to one page and menu entry 2017-07-23 03:20:58 +09:00
ThemeTest.qml Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00