diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-07-22 12:39:39 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-22 16:15:00 -0700 |
commit | 0b78b0c192cee45aa116ec65337fe935e25f2e72 (patch) | |
tree | e0051a0d60facf8d70c7002c1596bc4db6d70a1a | |
parent | 405f27eb2a0eec39249018bd6421e6ed2b6c1f59 (diff) | |
download | subsurface-0b78b0c192cee45aa116ec65337fe935e25f2e72.tar.gz |
QML UI: allow downloading from libdc simulator
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-mobile-helper.cpp | 2 |
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()); |