[PATCH] Give the user more information on cloud credentials

Miika Turkia miika.turkia at gmail.com
Sat Jan 2 03:46:02 PST 2016


On Sat, Jan 2, 2016 at 10:07 AM, Miika Turkia <miika.turkia at gmail.com> wrote:
> This gives the user a bit more information about the progress of setting
> the cloud credentials. IMO, especially the information that the
> credentials are invalid is crucial for the user experience.
>
> Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
> ---
>  qt-mobile/qmlmanager.cpp | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
> index 23c620e..0702b6c 100644
> --- a/qt-mobile/qmlmanager.cpp
> +++ b/qt-mobile/qmlmanager.cpp
> @@ -151,6 +151,7 @@ void QMLManager::checkCredentialsAndExecute(execute_function_type execute)
>  {
>         // if the cloud credentials are present, we should try to get the GPS Webservice ID
>         // and (if we haven't done so) load the dive list
> +       setStartPageText(tr("Testing cloud credentials"));
>         if (!same_string(prefs.cloud_storage_email, "") &&
>             !same_string(prefs.cloud_storage_password, "")) {
>                 appendTextToLog("Have credentials, let's see if they are valid");

Or maybe having the text inside the if statement as in the attachment.

miika
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Give-the-user-more-information-on-cloud-credentials.patch
Type: text/x-diff
Size: 1763 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160102/2826581c/attachment.patch>


More information about the subsurface mailing list