<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<tt>When starting ssrf-mobile, and the local divelist is identical
to the
cloud version (so same sha1), a save of local modifcations to the
cloud should be possible. This fix enables this by pretending
that a suppressed load from cloud on start is still a valid load
from cloud.</tt><tt><br>
</tt><tt><br>
</tt><tt> </tt>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<tt> </tt><tt><br>
</tt><tt>Signed-off-by: Jan Mulder <a class="moz-txt-link-rfc2396E" href="mailto:jlmulder@xs4all.nl"><jlmulder@xs4all.nl></a></tt><br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<pre>---
qt-mobile/qmlmanager.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 00f8b5d..d25d885 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -275,6 +275,7 @@ void QMLManager::loadDivesWithValidCredentials()
if (check_git_sha(fileNamePrt.data()) == 0) {
qDebug() << "local cache was current, no need to modify dive list";
appendTextToLog("Cloud sync shows local cache was current");
+ setLoadFromCloud(true);
return;
}
clear_dive_file_data();
--
2.7.0</pre>
<title></title>
<meta name="generator" content="LibreOffice 5.0.4.2 (Linux)">
<style type="text/css">
@page { margin: 0.79in }
p { margin-bottom: 0.1in; line-height: 120% }
</style>
<title></title>
<meta name="generator" content="LibreOffice 5.0.4.2 (Linux)">
<style type="text/css">
@page { margin: 0.79in }
p { margin-bottom: 0.1in; line-height: 120% }
</style>
<br>
best,<br>
<br>
--jan<br>
<br>
<br>
<title></title>
<meta name="generator" content="LibreOffice 5.0.4.2 (Linux)">
<style type="text/css">
@page { margin: 0.79in }
p { margin-bottom: 0.1in; line-height: 120% }
</style>
</body>
</html>