subsurface/mobile-widgets
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
..
qml mobile: initialize credential data in one place 2017-09-29 08:13:25 -07:00
qmlmanager.cpp mobile: initialize credential data in one place 2017-09-29 08:13:25 -07:00
qmlmanager.h Unify credential states 2017-09-04 07:38:30 -07:00
qmlmapwidgethelper.cpp mapwidgethelper: support Qt 5.5.x 2017-09-20 08:53:41 -07:00
qmlmapwidgethelper.h mapwidgethelper: use dynamic creation of the Plugin object 2017-08-24 13:11:39 -07:00
qmlprofile.cpp QML UI: adjust to modified logging API 2017-06-11 13:55:41 -07:00
qmlprofile.h Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00