summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-06 07:52:17 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-07 10:06:47 -0700
commit56c82081a537e6c15edd2d58567fb8874d4a9f04 (patch)
tree0bd02a0f51793234202ea89facb1edb8807f3eb3 /core/downloadfromdcthread.h
parent7aacaf60da7e73b9c57012e1846f709acb4d0ac2 (diff)
downloadsubsurface-56c82081a537e6c15edd2d58567fb8874d4a9f04.tar.gz
Make compile succeed without BT_SUPPORT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/downloadfromdcthread.h')
-rw-r--r--core/downloadfromdcthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/downloadfromdcthread.h b/core/downloadfromdcthread.h
index f1b450865..ff4b8f39c 100644
--- a/core/downloadfromdcthread.h
+++ b/core/downloadfromdcthread.h
@@ -9,8 +9,9 @@
#include "dive.h"
#include "libdivecomputer.h"
#include "connectionlistmodel.h"
+#if BT_SUPPORT
#include "core/btdiscovery.h"
-
+#endif
/* Helper object for access of Device Data in QML */
class DCDeviceData : public QObject {
Q_OBJECT
@@ -100,5 +101,4 @@ extern QStringList vendorList;
extern QHash<QString, QStringList> productList;
extern QMap<QString, dc_descriptor_t *> descriptorLookup;
extern ConnectionListModel connectionListModel;
-
#endif