diff options
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/cylindermodel.cpp | 2 | ||||
-rw-r--r-- | qt-models/divelocationmodel.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp index 19302421e..9a093112c 100644 --- a/qt-models/cylindermodel.cpp +++ b/qt-models/cylindermodel.cpp @@ -222,7 +222,7 @@ QVariant CylindersModel::data(const QModelIndex &index, int role) const ret = get_depth_string(gas_mnd(&cyl->gasmix, prefs.bestmixend, &displayed_dive, M_OR_FT(1,1)), true); break; case USE: - ret = gettextFromC::instance()->trGettext(cylinderuse_text[cyl->cylinder_use]); + ret = gettextFromC::tr(cylinderuse_text[cyl->cylinder_use]); break; } break; diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp index c706744a3..2e62997f9 100644 --- a/qt-models/divelocationmodel.cpp +++ b/qt-models/divelocationmodel.cpp @@ -176,7 +176,7 @@ GeoReferencingOptionsModel::GeoReferencingOptionsModel(QObject *parent) : QStrin QStringList list; int i; for (i = 0; i < TC_NR_CATEGORIES; i++) - list << gettextFromC::instance()->trGettext(taxonomy_category_names[i]); + list << gettextFromC::tr(taxonomy_category_names[i]); setStringList(list); } |