From 83fb735a3e5bc3039448b0ff8a3256a28d7cddb1 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Mar 2016 20:12:07 -0800 Subject: Silence warnings in divelistview.cpp Signed-off-by: Dirk Hohndel --- desktop-widgets/divelistview.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/divelistview.cpp') diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp index d2386ecf1..f3204a111 100644 --- a/desktop-widgets/divelistview.cpp +++ b/desktop-widgets/divelistview.cpp @@ -515,6 +515,7 @@ void DiveListView::toggleColumnVisibilityByIndex() void DiveListView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) { + Q_UNUSED(previous) if (!isVisible()) return; if (!current.isValid()) -- cgit v1.2.3-70-g09d2