From 8dafc32228fab06ae01b0f5cfe43cda6ea74f714 Mon Sep 17 00:00:00 2001 From: Sander Kleijwegt Date: Fri, 4 Sep 2015 12:06:31 +0200 Subject: Remove id from divelocation selection list Signed-off-by: Sander Kleijwegt Signed-off-by: Dirk Hohndel --- qt-models/divelocationmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-models') 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"; -- cgit v1.2.3-70-g09d2