diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-02 07:03:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-02 07:03:03 -0700 |
commit | f554c2d16cb5816b6b1a97b0349488bc70b512b0 (patch) | |
tree | 60811b1d64c2f37378ed20147f829cf74849d1dd /qt-models/divelocationmodel.cpp | |
parent | 1d59b028c91ab7943cfece4a113948c61110dfc3 (diff) | |
parent | 0a0a6f07d5dbb2c24184d22c3c2cedf89ffdc7ac (diff) | |
download | subsurface-f554c2d16cb5816b6b1a97b0349488bc70b512b0.tar.gz |
Merge branch 'taxonomy'
Diffstat (limited to 'qt-models/divelocationmodel.cpp')
-rw-r--r-- | qt-models/divelocationmodel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp index 53f518941..3d3c77616 100644 --- a/qt-models/divelocationmodel.cpp +++ b/qt-models/divelocationmodel.cpp @@ -116,6 +116,8 @@ GeoReferencingOptionsModel *GeoReferencingOptionsModel::instance() { GeoReferencingOptionsModel::GeoReferencingOptionsModel(QObject *parent) : QStringListModel(parent) { QStringList list; - list << "Country" << "State" << "District" << "Town" << "Suburb" << "Body of Water" << "Site Name"; + int i; + for (i = 0; i < NR_CATEGORIES; i++) + list << taxonomy_category_names[i]; setStringList(list); } |