mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Change from gettextFromC::instance()->tr() to gettextFromC::tr();
Code cleanup. Suggested-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
88e6ba2f61
commit
c953aadcf8
9 changed files with 18 additions and 18 deletions
|
@ -253,7 +253,7 @@ QVariant DivePlannerPointsModel::data(const QModelIndex &index, int role) const
|
|||
else
|
||||
return p.time / 60;
|
||||
case DIVEMODE:
|
||||
return gettextFromC::instance()->tr(divemode_text_ui[p.divemode]);
|
||||
return gettextFromC::tr(divemode_text_ui[p.divemode]);
|
||||
case GAS:
|
||||
/* Check if we have the same gasmix two or more times
|
||||
* If yes return more verbose string */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue