aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp5
-rw-r--r--qt-ui/maintab.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index f85276d95..a84c0ecec 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -1110,3 +1110,8 @@ void MainTab::updateGpsCoordinates(const struct dive *dive)
ui.coordinates->clear();
}
}
+
+QString MainTab::trHemisphere(const char *orig)
+{
+ return tr(orig);
+}
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 4a0b0b9c5..ece2c4009 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -96,6 +96,7 @@ slots:
void enableEdition(EditMode newEditMode = NONE);
void toggleTriggeredColumn();
void updateTextLabels(bool showUnits = true);
+ QString trHemisphere(const char *orig);
private:
Ui::MainTab ui;