diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-10-15 21:43:38 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-15 21:43:38 -0400 |
commit | a48a42efe07273d042bde4a806771409a0f227b3 (patch) | |
tree | cd6f206568d495557eebec7de2a8f12b15fa4de3 /mobile-widgets/qmlmanager.cpp | |
parent | 8f6827ab122bb2ae4926ed4a692fe6e02731acd7 (diff) | |
download | subsurface-a48a42efe07273d042bde4a806771409a0f227b3.tar.gz |
Make sure we can still build without BT_SUPPORT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 5fbe61614..2f99ff41b 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -12,7 +12,10 @@ #include <QElapsedTimer> #include <QTimer> #include <QDateTime> + +#if defined(BT_SUPPORT) #include <QBluetoothLocalDevice> +#endif #include "qt-models/divelistmodel.h" #include "qt-models/gpslistmodel.h" @@ -78,6 +81,7 @@ extern "C" int gitProgressCB(const char *text) return 0; } +#if defined(BT_SUPPOR) void QMLManager::btHostModeChange(QBluetoothLocalDevice::HostMode state) { BTDiscovery *btDiscovery = BTDiscovery::instance(); @@ -94,6 +98,7 @@ void QMLManager::btHostModeChange(QBluetoothLocalDevice::HostMode state) } emit btEnabledChanged(); } +#endif QMLManager::QMLManager() : m_locationServiceEnabled(false), m_verboseEnabled(false), |