mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 20:36:15 +00:00
diveprofileitem.cpp: fix unused variable warning on mobile
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2aed907525
commit
491ef7edc8
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ int DiveProfileItem::maxCeiling(int row)
|
|||
void DiveProfileItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
|
||||
{
|
||||
bool eventAdded = false;
|
||||
(void)eventAdded;
|
||||
if (!shouldCalculateStuff(topLeft, bottomRight))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue