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
@ -412,7 +412,6 @@ void QMLManager::saveCloudCredentials()
|
||||
getCloudURL(url);
|
||||
manager()->clearAccessCache(); // remove any chached credentials
|
||||
clear_git_id(); // invalidate our remembered GIT SHA
|
||||
clear_dive_file_data();
|
||||
DiveListModel::instance()->clear();
|
||||
GpsListModel::instance()->clear();
|
||||
setStartPageText(tr("Attempting to open cloud storage with new credentials"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user