diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-08-31 21:35:17 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-31 18:43:09 -0700 |
commit | e36e4d1faa95439a1806935de6dcbd04d2283d20 (patch) | |
tree | 47a54f026cb0be6084d47ebff250b798df91591e /qt-models/divelocationmodel.cpp | |
parent | 560426bf82ef7cb163d8046b722c12b76604006c (diff) | |
download | subsurface-e36e4d1faa95439a1806935de6dcbd04d2283d20.tar.gz |
UI code to merge dive sites
Get the Qt data structures and convert to something
that we can use in our C - core.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divelocationmodel.cpp')
-rw-r--r-- | qt-models/divelocationmodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp index ff733f5ad..0ddd0eb49 100644 --- a/qt-models/divelocationmodel.cpp +++ b/qt-models/divelocationmodel.cpp @@ -109,8 +109,9 @@ QVariant LocationInformationModel::data(const QModelIndex &index, int role) cons else return QVariant(); } + case UUID_ROLE: + return ds->uuid; } - return QVariant(); } |