Rename enum values for taxonomy

This avoids confusion and namespace collisions.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-02 10:21:35 -07:00
parent 08f8eb6eb5
commit bc8c54f1ee
10 changed files with 22 additions and 22 deletions

View file

@ -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 = " / ";