summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index 45851dfdf..d89c1e27d 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -9,7 +9,7 @@
#include <QElapsedTimer>
#include <QColor>
-#if BT_SUPPORT
+#if defined(BT_SUPPORT)
#include "core/btdiscovery.h"
#endif
#include "core/gpslocation.h"
@@ -138,7 +138,9 @@ public:
bool showPin() const;
void setShowPin(bool enable);
Q_INVOKABLE void setStatusbarColor(QColor color);
+#if defined(BT_SUPPORT)
void btHostModeChange(QBluetoothLocalDevice::HostMode state);
+#endif
#if defined(Q_OS_ANDROID)
void writeToAppLogFile(QString logText);