1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

Silence warnings in divelistview.cpp

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-03-09 20:12:07 -08:00
parent de572815bd
commit 83fb735a3e

View file

@ -515,6 +515,7 @@ void DiveListView::toggleColumnVisibilityByIndex()
void DiveListView::currentChanged(const QModelIndex &current, const QModelIndex &previous) void DiveListView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
{ {
Q_UNUSED(previous)
if (!isVisible()) if (!isVisible())
return; return;
if (!current.isValid()) if (!current.isValid())