diff --git a/CHANGELOG.md b/CHANGELOG.md index e20c30689..a41040f62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ divelist: do not include planned versions of a dive if there is real data desktop: fix key composition in tag widgets and dive site widget mobile: allow cloud account deletion (Apple app store requirement) +mobile: fix listing of local cloud cache directories --- * Always add new entries at the very top of this file above other existing entries and this note. diff --git a/libdivecomputer b/libdivecomputer index 565bb2af0..a17e466bd 160000 --- a/libdivecomputer +++ b/libdivecomputer @@ -1 +1 @@ -Subproject commit 565bb2af027011101e9c4e840a8f49162ea4a752 +Subproject commit a17e466bd1d2e675666e20862182d618cf6d7190 diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index f5b62e781..c358cd548 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -2300,7 +2300,7 @@ void QMLManager::importCacheRepo(QString repo) QStringList QMLManager::cloudCacheList() const { QDir localCacheDir(QString("%1/cloudstorage/").arg(system_default_directory())); - QStringList dirs = localCacheDir.entryList(QDir::NoDotAndDotDot); + QStringList dirs = localCacheDir.entryList(); QStringList result; foreach(QString dir, dirs) { QString originsDir = QString("%1/cloudstorage/%2/.git/refs/remotes/origin/").arg(system_default_directory()).arg(dir);