From c953aadcf82ee050102e228bf08bcff76886caaa Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Sun, 17 Jun 2018 17:55:47 +0200 Subject: Change from gettextFromC::instance()->tr() to gettextFromC::tr(); Code cleanup. Suggested-by: Berthold Stoeger Signed-off-by: Stefan Fuchs --- qt-models/models.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-models/models.cpp') 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); } -- cgit v1.2.3-70-g09d2