mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Planner: initialize drop_stone_mode as false
Otherwise it could be used uninitialized when adding dives. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5fca5f421d
commit
5f76185d37
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ int DivePlannerPointsModel::rowCount(const QModelIndex &parent) const
|
|||
return divepoints.count();
|
||||
}
|
||||
|
||||
DivePlannerPointsModel::DivePlannerPointsModel(QObject *parent) : QAbstractTableModel(parent), mode(NOTHING)
|
||||
DivePlannerPointsModel::DivePlannerPointsModel(QObject *parent) : QAbstractTableModel(parent), mode(NOTHING), drop_stone_mode(false)
|
||||
{
|
||||
memset(&diveplan, 0, sizeof(diveplan));
|
||||
memset(&backupDive, 0, sizeof(backupDive));
|
||||
|
|
Loading…
Reference in a new issue