summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game/devicefinder.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/heartrate-game/devicefinder.h')
-rw-r--r--examples/bluetooth/heartrate-game/devicefinder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/bluetooth/heartrate-game/devicefinder.h b/examples/bluetooth/heartrate-game/devicefinder.h
index d9ad66ad..c82c0fe5 100644
--- a/examples/bluetooth/heartrate-game/devicefinder.h
+++ b/examples/bluetooth/heartrate-game/devicefinder.h
@@ -41,6 +41,7 @@
#ifndef DEVICEFINDER_H
#define DEVICEFINDER_H
+#include "heartrate-global.h"
#include "bluetoothbaseclass.h"
#include <QTimer>
@@ -83,7 +84,7 @@ private:
QBluetoothDeviceDiscoveryAgent *m_deviceDiscoveryAgent;
QList<QObject*> m_devices;
-#ifdef Q_OS_WIN32
+#ifdef SIMULATOR
QTimer m_demoTimer;
#endif
};