diff options
author | jan Iversen <jani@apache.org> | 2018-06-12 10:34:33 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-15 14:12:14 -0700 |
commit | 62ca5e90e13d65235d3cd53feffd0cb62cfbac43 (patch) | |
tree | 845a0051f89d9c6848821f7c8c0c9ab12a87b890 /mobile-widgets/qmlmanager.h | |
parent | d0e9f626245e7833847ad25ae3b97c5ab87caccb (diff) | |
download | subsurface-62ca5e90e13d65235d3cd53feffd0cb62cfbac43.tar.gz |
mobile: move NOCLOUD_LOCALSTORAGE from qmlmanager.cpp to .h
Make NOCLOUD_LOCALSTORAGE public for other qml functions
Signed-off-by: Jan Iversen <jani@apache.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 8ec0afb44..6de279b4b 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -17,6 +17,8 @@ #include "qt-models/completionmodels.h" #include "qt-models/divelocationmodel.h" +#define NOCLOUD_LOCALSTORAGE format_string("%s/cloudstorage/localrepo[master]", system_default_directory()) + class QMLManager : public QObject { Q_OBJECT Q_ENUMS(cloud_status_qml) |