diff options
author | jan Iversen <jani@libreoffice.org> | 2018-05-21 18:09:09 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-21 12:48:04 -0700 |
commit | e536682b84eda7444be1c9b85e0d5942596c6914 (patch) | |
tree | aebfcb65c29609ddc1442281a30c64a55f518d1b /desktop-widgets/divelistview.cpp | |
parent | e47f6df07662feb15c30a7f4bd0df3d1c23a022b (diff) | |
download | subsurface-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/divelistview.cpp')
-rw-r--r-- | desktop-widgets/divelistview.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp index 0014c31f2..e45563680 100644 --- a/desktop-widgets/divelistview.cpp +++ b/desktop-widgets/divelistview.cpp @@ -515,9 +515,8 @@ void DiveListView::toggleColumnVisibilityByIndex() setColumnWidth(lastVisibleColumn(), 10); } -void DiveListView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) +void DiveListView::currentChanged(const QModelIndex ¤t, const QModelIndex&) { - Q_UNUSED(previous) if (!isVisible()) return; if (!current.isValid()) |