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>
This commit is contained in:
Benjamin 2013-12-27 12:50:13 +02:00 committed by Dirk Hohndel
parent 55da333881
commit 31854f50a4
2 changed files with 18 additions and 0 deletions

View file

@ -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();