mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Avoid potentially uninitialized member
Coverity CID 1325281 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a94c84d598
commit
dde82a6ba4
1 changed files with 2 additions and 1 deletions
|
@ -378,7 +378,8 @@ bool DiveLocationModel::setData(const QModelIndex &index, const QVariant &value,
|
|||
DiveLocationLineEdit::DiveLocationLineEdit(QWidget *parent) : QLineEdit(parent),
|
||||
proxy(new DiveLocationFilterProxyModel()),
|
||||
model(new DiveLocationModel()),
|
||||
view(new DiveLocationListView())
|
||||
view(new DiveLocationListView()),
|
||||
currType(NO_DIVE_SITE)
|
||||
{
|
||||
currUuid = 0;
|
||||
location_line_edit = this;
|
||||
|
|
Loading…
Add table
Reference in a new issue