mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove redundant call to clear_dive_file_data()
In QMLManager::saveCloudCredentials(), clear_dive_file_data() was called just before calling openLocalThenRemote(). The latter calls the former anyway, so remove the former. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
785dcda0d5
commit
e5980942aa
1 changed files with 0 additions and 1 deletions
|
@ -412,7 +412,6 @@ void QMLManager::saveCloudCredentials()
|
||||||
getCloudURL(url);
|
getCloudURL(url);
|
||||||
manager()->clearAccessCache(); // remove any chached credentials
|
manager()->clearAccessCache(); // remove any chached credentials
|
||||||
clear_git_id(); // invalidate our remembered GIT SHA
|
clear_git_id(); // invalidate our remembered GIT SHA
|
||||||
clear_dive_file_data();
|
|
||||||
DiveListModel::instance()->clear();
|
DiveListModel::instance()->clear();
|
||||||
GpsListModel::instance()->clear();
|
GpsListModel::instance()->clear();
|
||||||
setStartPageText(tr("Attempting to open cloud storage with new credentials"));
|
setStartPageText(tr("Attempting to open cloud storage with new credentials"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue