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:
parent
de572815bd
commit
83fb735a3e
1 changed files with 1 additions and 0 deletions
|
@ -515,6 +515,7 @@ void DiveListView::toggleColumnVisibilityByIndex()
|
||||||
|
|
||||||
void DiveListView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
|
void DiveListView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(previous)
|
||||||
if (!isVisible())
|
if (!isVisible())
|
||||||
return;
|
return;
|
||||||
if (!current.isValid())
|
if (!current.isValid())
|
||||||
|
|
Loading…
Add table
Reference in a new issue