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.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/locationinformation.cpp') 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