From 62ca5e90e13d65235d3cd53feffd0cb62cfbac43 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Tue, 12 Jun 2018 10:34:33 +0200 Subject: mobile: move NOCLOUD_LOCALSTORAGE from qmlmanager.cpp to .h Make NOCLOUD_LOCALSTORAGE public for other qml functions Signed-off-by: Jan Iversen --- mobile-widgets/qmlmanager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mobile-widgets/qmlmanager.h') 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) -- cgit v1.2.3-70-g09d2