mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: allow downloading from libdc simulator
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
405f27eb2a
commit
0b78b0c192
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue