summaryrefslogtreecommitdiffstats
path: root/core/cloudstorage.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-06-16 10:08:34 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-04 05:32:30 +0800
commit2f951413303e10a80e540cacd0c6c282f8ce82cc (patch)
treed20a09bc203f93b65090727c2e3e68a42e985836 /core/cloudstorage.cpp
parentd02a03983d91da1d10aac5b0a5d84d15e94e9291 (diff)
downloadsubsurface-2f951413303e10a80e540cacd0c6c282f8ce82cc.tar.gz
core: remove double definition of enum cloud_storage_status
Remove cloud_storage_status from qmlprefs.h. usage to qPref:: enum cloud_storage_status is not used from C, but only from C++, and having the same structure defined multiple times is a maintenance challenge. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/cloudstorage.cpp')
-rw-r--r--core/cloudstorage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/cloudstorage.cpp b/core/cloudstorage.cpp
index 89e4ba553..68b81fbbf 100644
--- a/core/cloudstorage.cpp
+++ b/core/cloudstorage.cpp
@@ -2,6 +2,7 @@
#include "cloudstorage.h"
#include "pref.h"
#include "qthelper.h"
+#include "settings/qPref.h"
#include "core/subsurface-qt/SettingsObjectWrapper.h"
#include <QApplication>