From b52b95f3ec2e0dc730f991f25b7cefe30750cc72 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 31 Aug 2015 21:03:31 -0300 Subject: Show the correct data on the Dive Site List We where showing the UID, wich didn't made sense. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/locationInformation.ui | 3 +++ qt-ui/locationinformation.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/qt-ui/locationInformation.ui b/qt-ui/locationInformation.ui index 34cc2d56b..e7ab45ce0 100644 --- a/qt-ui/locationInformation.ui +++ b/qt-ui/locationInformation.ui @@ -98,6 +98,9 @@ 0 + + 0 + diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index 4a4fff088..616a7147e 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -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. -- cgit v1.2.3-70-g09d2