summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/metawatch.h3
-rw-r--r--src/metawatchbttransport.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/metawatch.h b/src/metawatch.h
index 606e478..0d22a4b 100644
--- a/src/metawatch.h
+++ b/src/metawatch.h
@@ -2,9 +2,6 @@
#define METAWATCH_H
#include <QObject>
-#include <QBluetoothAddress>
-
-QT_USE_NAMESPACE_BLUETOOTH
#include "metawatchtransport.h"
#include "widgetinfo.h"
diff --git a/src/metawatchbttransport.h b/src/metawatchbttransport.h
index a27328a..b1f3bf0 100644
--- a/src/metawatchbttransport.h
+++ b/src/metawatchbttransport.h
@@ -3,7 +3,9 @@
#include <QtBluetooth/QBluetoothSocket>
+#ifdef QT_USE_NAMESPACE_BLUETOOTH
QT_USE_NAMESPACE_BLUETOOTH
+#endif
#include "metawatchtransport.h"