summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelistview.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-22 08:04:28 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-24 08:34:14 -0700
commitcb9951a48497cdf1d8f9580ab8818fe29e2d5e75 (patch)
tree441bbdb2cb8fa43b407ba38a40e2f76fc72230ee /desktop-widgets/divelistview.cpp
parent12b4f2235ba3c1443835be3d3bba1fe608593980 (diff)
downloadsubsurface-cb9951a48497cdf1d8f9580ab8818fe29e2d5e75.tar.gz
desktop-widgets: replace (void) with no parameter name
Unused parameters in C++ are "silenced" by removing the name. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'desktop-widgets/divelistview.cpp')
-rw-r--r--desktop-widgets/divelistview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp
index 659d8e842..0eea2b031 100644
--- a/desktop-widgets/divelistview.cpp
+++ b/desktop-widgets/divelistview.cpp
@@ -1044,8 +1044,7 @@ void DiveListView::updateLastImageTimeOffset(const int offset)
s.setValue("LastImageTimeOffset", offset);
}
-void DiveListView::mouseDoubleClickEvent(QMouseEvent * event)
+void DiveListView::mouseDoubleClickEvent(QMouseEvent*)
{
- (void) event;
return;
}