summaryrefslogtreecommitdiffstats
path: root/qt-models/models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/models.cpp')
-rw-r--r--qt-models/models.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/models.cpp b/qt-models/models.cpp
index 87dfe0cd5..5fa0c7c79 100644
--- a/qt-models/models.cpp
+++ b/qt-models/models.cpp
@@ -84,7 +84,7 @@ void DiveTypeSelectionModel::repopulate()
{
QStringList modes = QStringList();
for (int i = 0; i < FREEDIVE; i++)
- modes.append(gettextFromC::instance()->tr(divemode_text_ui[i]));
+ modes.append(gettextFromC::tr(divemode_text_ui[i]));
setStringList(modes);
}