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)
{
Q_UNUSED(previous)
if (!isVisible())
return;
if (!current.isValid())