summaryrefslogtreecommitdiffstats
path: root/qt-gui.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-10 00:15:21 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-10 00:18:26 -0700
commit86a80d37eb3c99efd551aaa9c10687dd4c949899 (patch)
treeb4b1dc6b258cd10e468e8f4cd6d721ecc4fcfa2b /qt-gui.cpp
parent193d20c479d597db307ac5e206b74b26c2f97ba9 (diff)
downloadsubsurface-86a80d37eb3c99efd551aaa9c10687dd4c949899.tar.gz
Dismbiguate gettext
Just to make sure there's no confusion - we are NOT calling gettext. We are calling tr from a gettext like interface. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r--qt-gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index f361e34df..e0cff0b2b 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -41,7 +41,7 @@
#include <gettextfromc.h>
// this will create a warning when executing lupdate
-#define translate(_context, arg) gettextFromC::instance()->tr("gettextFromC",arg)
+#define translate(_context, arg) gettextFromC::instance()->tr(arg)
const char *default_dive_computer_vendor;
const char *default_dive_computer_product;