summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-02 10:21:35 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-02 10:22:31 -0700
commitbc8c54f1eedc550f9cd79abfc69db9934577aac8 (patch)
tree569373c575d0c08e3706a8ba79932adaefefa091 /qt-models
parent08f8eb6eb51f2855f98c1b351127691dce837894 (diff)
downloadsubsurface-bc8c54f1eedc550f9cd79abfc69db9934577aac8.tar.gz
Rename enum values for taxonomy
This avoids confusion and namespace collisions. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/divelocationmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp
index 3d3c77616..42af4f63a 100644
--- a/qt-models/divelocationmodel.cpp
+++ b/qt-models/divelocationmodel.cpp
@@ -117,7 +117,7 @@ GeoReferencingOptionsModel::GeoReferencingOptionsModel(QObject *parent) : QStrin
{
QStringList list;
int i;
- for (i = 0; i < NR_CATEGORIES; i++)
+ for (i = 0; i < TC_NR_CATEGORIES; i++)
list << taxonomy_category_names[i];
setStringList(list);
}