subsurface/qt-mobile
Dirk Hohndel 3bfa8de2f7 Cloud storage: fix potential crash when avoiding reloading dive list
If we loaded the dive list from cache and then try to figure out if the remote
repository had anything different, we were being super stupid if the SHA was
identical... we had already cleared the dive list by the time we decided that
we didn't need to load things. Granted, the model was still populated (oops),
but the backend data structure was cleared and accesses to it (e.g., when
drawing the profile) would cause things to crash.

The helper function duplicates some code, but trying to not duplicate the code
made things even harder to read.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-01-04 17:55:37 -08:00
..
qml QML UI: hide action button 2016-01-04 13:15:33 -08:00
qmlmanager.cpp Cloud storage: fix potential crash when avoiding reloading dive list 2016-01-04 17:55:37 -08:00
qmlmanager.h QML UI: add feature to add current position when editing dive 2016-01-01 17:26:26 -08:00
qmlprofile.cpp QML UI: make profile margin scale proportional to dimensions 2016-01-04 10:00:44 -08:00
qmlprofile.h QML UI: obtain a reasonable margin from QML 2015-12-29 09:50:47 -08:00