diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-02 10:21:35 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-02 10:22:31 -0700 |
commit | bc8c54f1eedc550f9cd79abfc69db9934577aac8 (patch) | |
tree | 569373c575d0c08e3706a8ba79932adaefefa091 /qt-ui | |
parent | 08f8eb6eb51f2855f98c1b351127691dce837894 (diff) | |
download | subsurface-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-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 591f665d5..a4b1722bd 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -515,7 +515,7 @@ void MainTab::updateDiveInfo(bool clear) locationTag = "<small><small>(tags: "; QString connector = ""; for (int i = 0; i < 3; i++) { - for (int j = 0; j < NR_CATEGORIES; j++) { + for (int j = 0; j < TC_NR_CATEGORIES; j++) { if (ds->taxonomy.category[j].category == prefs.geocoding.category[i]) { locationTag += connector + QString(ds->taxonomy.category[j].value); connector = " / "; |