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>
This commit is contained in:
jan Iversen 2018-06-12 10:34:33 +02:00 committed by Dirk Hohndel
parent d0e9f62624
commit 62ca5e90e1
2 changed files with 2 additions and 2 deletions

View file

@ -39,8 +39,6 @@ QMLManager *QMLManager::m_instance = NULL;
#define RED_FONT QLatin1Literal("<font color=\"red\">")
#define END_FONT QLatin1Literal("</font>")
#define NOCLOUD_LOCALSTORAGE format_string("%s/cloudstorage/localrepo[master]", system_default_directory())
extern "C" void showErrorFromC(char *buf)
{
QString error(buf);

View file

@ -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)