summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-helper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-09-23 15:05:08 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-14 04:32:50 -0700
commitdd14e2782008df427704173e5eaf9a75fcbc0d2d (patch)
treef4c2b9d460bdd9b274d79ea36414d6365a6bea4b /subsurface-mobile-helper.cpp
parent38243be44d50a1763f84a9b2331b5aec62a32632 (diff)
downloadsubsurface-dd14e2782008df427704173e5eaf9a75fcbc0d2d.tar.gz
BLE: try to enable on iOS
We can't use the localBtDevice on iOS, so hack around that and go straight to discovery. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r--subsurface-mobile-helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp
index ae7143404..31e582020 100644
--- a/subsurface-mobile-helper.cpp
+++ b/subsurface-mobile-helper.cpp
@@ -59,7 +59,7 @@ void run_ui()
QQmlApplicationEngine engine;
KirigamiPlugin::getInstance().registerTypes();
-#if __APPLE__
+#if defined(__APPLE__) && !defined(Q_OS_IOS)
// when running the QML UI on a Mac the deployment of the QML Components seems
// to fail and the search path for the components is rather odd - simply the
// same directory the executable was started from <bundle>/Contents/MacOS/