summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-17 14:15:19 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-17 14:39:30 +0000
commit8856417b2fb783ad3e8dcf95ddc9292cc1c5ba52 (patch)
treecd386687738935a5f901c376d3631b99444a7265 /qt-ui/models.cpp
parent0c3f13d128f366b036a77dfd2d195cbcac8547ba (diff)
downloadsubsurface-8856417b2fb783ad3e8dcf95ddc9292cc1c5ba52.tar.gz
Allow translation of the cylinder use strings for the UI
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 9464d6c37..f22a1f6c9 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -173,7 +173,7 @@ QVariant CylindersModel::data(const QModelIndex &index, int role) const
ret = get_depth_string(cyl->depth, true);
break;
case USE:
- ret = QString(cylinderuse_text[cyl->cylinder_use]);
+ ret = gettextFromC::instance()->trGettext(cylinderuse_text[cyl->cylinder_use]);
break;
}
break;