From bc8c54f1eedc550f9cd79abfc69db9934577aac8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 2 Jul 2015 10:21:35 -0700 Subject: Rename enum values for taxonomy This avoids confusion and namespace collisions. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') 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 = "(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 = " / "; -- cgit v1.2.3-70-g09d2