Avoid potentially uninitialized member
Coverity CID 1325281 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a94c84d598
commit
dde82a6ba4
@ -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…
x
Reference in New Issue
Block a user