diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-08-31 21:03:31 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-31 18:42:32 -0700 |
commit | b52b95f3ec2e0dc730f991f25b7cefe30750cc72 (patch) | |
tree | ae95a28c4196f00fc89f56f965b081cdcd1a9ee7 /qt-ui | |
parent | a3d6098c8ce7bee6841872153a85b573d583430d (diff) | |
download | subsurface-b52b95f3ec2e0dc730f991f25b7cefe30750cc72.tar.gz |
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>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/locationInformation.ui | 3 | ||||
-rw-r--r-- | qt-ui/locationinformation.cpp | 1 |
2 files changed, 4 insertions, 0 deletions
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 @@ <verstretch>0</verstretch> </sizepolicy> </property> + <property name="modelColumn"> + <number>0</number> + </property> </widget> </item> </layout> 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. |