summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-07 15:12:45 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-07 15:17:58 -0700
commit0a6c16f35af230d9d38629507dc51070f236e009 (patch)
treea31f78316934b4a68b8391226f035a89b7945296 /qt-ui/maintab.cpp
parent6763b93619262776c405b1bf214456cc49f78c3e (diff)
downloadsubsurface-0a6c16f35af230d9d38629507dc51070f236e009.tar.gz
Hack around a translation issue
I cannot figure out how to get the hemisphere letters translated correctly in qthelper.cpp. Short term hack for now - someone who understands how this is supposed to work really needs to take a look. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp5
1 files changed, 5 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);
+}