Show the correct data on the Dive Site List

We where showing the UID, wich didn't made sense.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-08-31 21:03:31 -03:00 committed by Dirk Hohndel
parent a3d6098c8c
commit b52b95f3ec
2 changed files with 4 additions and 0 deletions

View file

@ -98,6 +98,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="modelColumn">
<number>0</number>
</property>
</widget>
</item>
</layout>

View file

@ -34,6 +34,7 @@ LocationInformationWidget::LocationInformationWidget(QWidget *parent) : QGroupBo
filter_model->setSourceModel(LocationInformationModel::instance());
filter_model->setFilterRow(filter_same_gps_cb);
ui.diveSiteListView->setModel(filter_model);
ui.diveSiteListView->setModelColumn(LocationInformationModel::NAME);
#ifndef NO_MARBLE
// Globe Management Code.