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

@ -72,7 +72,7 @@ slots:
void resetSettings();
void configMessage(QString msg);
void configError(QString err);
void on_cancel_clicked();
void on_close_clicked();
void on_saveSettingsPushButton_clicked();
void deviceDetailsReceived(DeviceDetails *newDeviceDetails);
void reloadValues();
@ -115,10 +115,6 @@ private:
void reloadValuesSuuntoVyper();
void reloadValuesOSTC4();
QString selected_vendor;
QString selected_product;
bool fw_upgrade_possible;
#ifdef BT_SUPPORT
BtDeviceSelectionDialog *btDeviceSelectionDialog;
#endif