diff options
author | Sander Kleijwegt <sander@myowndomain.nl> | 2015-09-04 12:06:31 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-12 08:24:51 -0700 |
commit | 8dafc32228fab06ae01b0f5cfe43cda6ea74f714 (patch) | |
tree | b3f52ca0b78dd23a1278e2bfa209ef2ad23cf250 /qt-models/divelocationmodel.cpp | |
parent | 7331cdad2fbdebf7f4c52f451d5c6e596c2673f3 (diff) | |
download | subsurface-8dafc32228fab06ae01b0f5cfe43cda6ea74f714.tar.gz |
Remove id from divelocation selection list
Signed-off-by: Sander Kleijwegt <sander@myowndomain.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divelocationmodel.cpp')
-rw-r--r-- | qt-models/divelocationmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp index 0ddd0eb49..47037b576 100644 --- a/qt-models/divelocationmodel.cpp +++ b/qt-models/divelocationmodel.cpp @@ -92,7 +92,7 @@ QVariant LocationInformationModel::data(const QModelIndex &index, int role) cons case Qt::DisplayRole : switch(index.column()) { case UUID: return ds->uuid; - case NAME: return QString("%1, id:%2").arg(ds->name).arg(ds->uuid); + case NAME: return ds->name; case LATITUDE: return ds->latitude.udeg; case LONGITUDE: return ds->longitude.udeg; case COORDS: return "TODO"; |