From dbd07af59fd14d20e529c3561fb6cfc3a8fb1814 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Wed, 14 Oct 2015 22:08:00 +0200 Subject: Mark dive type list for translation Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index e97812cf6..be63d5e11 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -95,7 +95,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), connect(ui.weights, SIGNAL(addButtonClicked()), this, SLOT(addWeight_clicked())); // This needs to be the same order as enum dive_comp_type in dive.h! - ui.DiveType->insertItems(0, QStringList() << "OC" << "CCR" << "pSCR" << "Freedive"); + ui.DiveType->insertItems(0, QStringList() << tr("OC") << tr("CCR") << tr("pSCR") << tr("Freedive")); connect(ui.DiveType, SIGNAL(currentIndexChanged(int)), this, SLOT(divetype_Changed(int))); connect(ui.cylinders->view(), SIGNAL(clicked(QModelIndex)), this, SLOT(editCylinderWidget(QModelIndex))); -- cgit v1.2.3-70-g09d2