diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-02-17 17:16:11 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-07 18:47:34 -0800 |
commit | 7d9e907681cd48d7fa013e05d4b90160ee593426 (patch) | |
tree | 9e8770d9b22a1640cc8ce48a1dc008d14a66cbca /mobile-widgets/qmlmanager.h | |
parent | 45d37fd51b06680e8b2e75973217e8663597ede3 (diff) | |
download | subsurface-7d9e907681cd48d7fa013e05d4b90160ee593426.tar.gz |
debug: try to capture changes that don't invalidate git cache
At least in those cases where we are sending a divesChanged signal we can
easily check if the cache was properly invalidated. Of course this won't help
in cases where we don't notify the dive list about changes, either.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 466413dd3..145a3df17 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -17,6 +17,7 @@ #include "qt-models/completionmodels.h" #include "qt-models/divelocationmodel.h" #include "core/settings/qPrefCloudStorage.h" +#include "core/subsurface-qt/divelistnotifier.h" #define NOCLOUD_LOCALSTORAGE format_string("%s/cloudstorage/localrepo[master]", system_default_directory()) @@ -226,6 +227,7 @@ public slots: void hasLocationSourceChanged(); void btRescan(); void showDownloadPage(QString deviceString); + void divesChanged(const QVector<dive *> &dives, DiveField field); private: BuddyCompletionModel buddyModel; |