Desktop: Use Persisted Device Information for Dive Computer Configuration.

Use the dive computer / device information that was persisted when
previously downloading dives or configuring the dive computer in the
dive computer configuration dialog.
Also rename 'Connect with bluetooth' and 'Cancel' buttons in the dialog
to make them more consistent with what they do.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2023-06-12 14:27:02 +12:00 committed by Dirk Hohndel
parent 35d88fa6ce
commit 700bba7e30
4 changed files with 102 additions and 63 deletions

View file

@ -42,9 +42,9 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="bluetoothMode">
<widget class="QPushButton" name="connectBluetoothButton">
<property name="text">
<string>Connect via Bluetooth</string>
<string>Select Bluetooth Device</string>
</property>
</widget>
</item>
@ -182,9 +182,9 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="cancel">
<widget class="QPushButton" name="close">
<property name="text">
<string>Cancel</string>
<string>Close</string>
</property>
</widget>
</item>
@ -3972,7 +3972,7 @@
<tabstop>saveSettingsPushButton</tabstop>
<tabstop>backupButton</tabstop>
<tabstop>restoreBackupButton</tabstop>
<tabstop>cancel</tabstop>
<tabstop>close</tabstop>
</tabstops>
<resources>
<include location="../subsurface.qrc"/>