summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-21 18:09:09 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-21 12:48:04 -0700
commite536682b84eda7444be1c9b85e0d5942596c6914 (patch)
treeaebfcb65c29609ddc1442281a30c64a55f518d1b /desktop-widgets/downloadfromdivecomputer.cpp
parente47f6df07662feb15c30a7f4bd0df3d1c23a022b (diff)
downloadsubsurface-e536682b84eda7444be1c9b85e0d5942596c6914.tar.gz
desktop-widgets: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp
index 3f5799e13..b2476d77c 100644
--- a/desktop-widgets/downloadfromdivecomputer.cpp
+++ b/desktop-widgets/downloadfromdivecomputer.cpp
@@ -241,9 +241,8 @@ void DownloadFromDCWidget::on_vendor_currentIndexChanged(const QString &vendor)
fill_device_list(dcType);
}
-void DownloadFromDCWidget::on_product_currentIndexChanged(const QString &product)
+void DownloadFromDCWidget::on_product_currentIndexChanged(const QString&)
{
- Q_UNUSED(product)
updateDeviceEnabled();
}