diff options
Diffstat (limited to 'examples/bluetooth/heartrate-game/connectionhandler.cpp')
-rw-r--r-- | examples/bluetooth/heartrate-game/connectionhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/bluetooth/heartrate-game/connectionhandler.cpp b/examples/bluetooth/heartrate-game/connectionhandler.cpp index 6ca3f1d7..d5084179 100644 --- a/examples/bluetooth/heartrate-game/connectionhandler.cpp +++ b/examples/bluetooth/heartrate-game/connectionhandler.cpp @@ -38,6 +38,7 @@ ** ****************************************************************************/ +#include "heartrate-global.h" #include "connectionhandler.h" #include <QtDebug> @@ -49,7 +50,7 @@ ConnectionHandler::ConnectionHandler(QObject *parent) : QObject(parent) bool ConnectionHandler::alive() const { -#ifdef Q_OS_WIN32 +#ifdef SIMULATOR return true; #else return m_localDevice.isValid() && m_localDevice.hostMode() != QBluetoothLocalDevice::HostPoweredOff; |