From 0b78b0c192cee45aa116ec65337fe935e25f2e72 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 22 Jul 2017 12:39:39 -0700 Subject: QML UI: allow downloading from libdc simulator Signed-off-by: Dirk Hohndel --- subsurface-mobile-helper.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'subsurface-mobile-helper.cpp') 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()); -- cgit v1.2.3-70-g09d2