subsurface/mobile-widgets
Berthold Stoeger 099662023c Move resetting of current file out of clear_dive_file_data()
This is the only case where C-code sets the current file.
Remove this call for a better separation of C-backend and
C++-frontend parts.

There were four callers of clear_dive_file_data(). Two of them
would call set_filename() anyway. For the remaining two add an
explicit call to set_filename().

This commit fixes a bug introduced in commit b3901aa8f9:
The cloud-online menu entry was still enabled after "closing" the
cloud storage.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-01-08 12:01:04 +01:00
..
qml mobile: silence warnings in the app log 2018-01-03 14:04:08 +01:00
qmlmanager.cpp Move resetting of current file out of clear_dive_file_data() 2018-01-08 12:01:04 +01:00
qmlmanager.h Add button to rescan BT devices 2017-12-05 20:05:16 -08: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