summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-helper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-22 12:39:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-22 16:15:00 -0700
commit0b78b0c192cee45aa116ec65337fe935e25f2e72 (patch)
treee0051a0d60facf8d70c7002c1596bc4db6d70a1a /subsurface-mobile-helper.cpp
parent405f27eb2a0eec39249018bd6421e6ed2b6c1f59 (diff)
downloadsubsurface-0b78b0c192cee45aa116ec65337fe935e25f2e72.tar.gz
QML UI: allow downloading from libdc simulator
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, 2 insertions, 0 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp
index 68dd228ba..c5ba66998 100644
--- a/subsurface-mobile-helper.cpp
+++ b/subsurface-mobile-helper.cpp
@@ -82,6 +82,8 @@ void run_ui()
connectionListModel.addAddress("/dev/ttyS1");
connectionListModel.addAddress("/dev/ttyS2");
connectionListModel.addAddress("/dev/ttyS3");
+ // this makes debugging so much easier - use the simulator
+ connectionListModel.addAddress("/tmp/ttyS1");
#endif
ctxt->setContextProperty("connectionListModel", &connectionListModel);
ctxt->setContextProperty("logModel", MessageHandlerModel::self());