summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Benjamin <nystire@gmail.com>2013-12-27 12:50:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-27 11:04:35 -0800
commit31854f50a46b0c0ff0914653eece10af24e91698 (patch)
tree8d18e2c065f0133616bce3e99e26aba04c99e3ab /qt-ui/downloadfromdivecomputer.h
parent55da333881673b40ef774e4d5ae5c0815fcb47fb (diff)
downloadsubsurface-31854f50a46b0c0ff0914653eece10af24e91698.tar.gz
Disable DC device node if it is not needed
This patch disables/enables the DC device node based on what type of transport the selected DC uses. The only time the device node field is used is if the selected DC uses a serial transport type. IrDA and USB type transports do not use the device node. Signed-off-by: Benjamin Fogel <nystire@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r--qt-ui/downloadfromdivecomputer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index 943a1aa43..8f1f6aa2b 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -40,6 +40,7 @@ public slots:
void on_ok_clicked();
void on_cancel_clicked();
void on_vendor_currentIndexChanged(const QString& vendor);
+ void on_product_currentIndexChanged();
void onDownloadThreadFinished();
void updateProgressBar();