From 24471cfd0d71bab82e6e4ded68e593abdea9bb30 Mon Sep 17 00:00:00 2001 From: Gaetan Bisson Date: Wed, 23 Sep 2015 21:12:18 -1000 Subject: Initialize currUuid Signed-off-by: Gaetan Bisson Signed-off-by: Dirk Hohndel --- qt-ui/locationinformation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui') diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index 6e6db0b34..213d63be1 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -360,6 +360,7 @@ bool DiveLocationModel::setData(const QModelIndex& index, const QVariant& value, DiveLocationLineEdit::DiveLocationLineEdit(QWidget *parent) : QLineEdit(parent), proxy(new DiveLocationFilterProxyModel()), model(new DiveLocationModel()), view(new DiveLocationListView()) { + currUuid = 0; location_line_edit = this; proxy->setSourceModel(model); -- cgit v1.2.3-70-g09d2