summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-02-10 08:21:27 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-02-14 09:05:58 -0800
commit7b0cfb17728fec752bf14079b0fdd5888a2f044c (patch)
treedbfe52f9365cfd52daf48ad8cce4ca29b8a58388 /desktop-widgets
parent2ae33376f7ee303ddaf5ba25fb8315f4302d3e05 (diff)
downloadsubsurface-7b0cfb17728fec752bf14079b0fdd5888a2f044c.tar.gz
Desktop: add checkbox to show all BT devices
Which right now is of course what we do by default, the goal is to only show what we think are dive computers, but allow to see all of them if the user wants to. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/btdeviceselectiondialog.ui13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop-widgets/btdeviceselectiondialog.ui b/desktop-widgets/btdeviceselectiondialog.ui
index be63b4160..d04fcdac6 100644
--- a/desktop-widgets/btdeviceselectiondialog.ui
+++ b/desktop-widgets/btdeviceselectiondialog.ui
@@ -216,6 +216,19 @@
</layout>
</item>
<item>
+ <widget class="QCheckBox" name="showNonDivecomputers">
+ <property name="toolTip">
+ <string>even if not recognized as dive computer</string>
+ </property>
+ <property name="text">
+ <string>Show all BT devices</string>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
<layout class="QVBoxLayout" name="scanningControls">
<item>
<widget class="QPushButton" name="scan">