summaryrefslogtreecommitdiffstats
path: root/core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-07-03 16:52:20 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-04 05:33:31 +0800
commit57c01f7a66ccd04fc2e83b67a840519db4661798 (patch)
tree4134dd2be823ea62ab3370cfb7ee567a6a53d4ec /core/gpslocation.h
parent2f951413303e10a80e540cacd0c6c282f8ce82cc (diff)
downloadsubsurface-57c01f7a66ccd04fc2e83b67a840519db4661798.tar.gz
Translations: unify gettextFromC::tr() and QObject::tr()
There were two catch-all classes for translations outside of class context. gettextFromC was used exclusively from C, but C++ used both, gettextFromC and QObject. Some of the string were even present in both. Therefore, unify to gettextFromC throughout the code base. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/gpslocation.h')
-rw-r--r--core/gpslocation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gpslocation.h b/core/gpslocation.h
index fb4f4c802..b277091a3 100644
--- a/core/gpslocation.h
+++ b/core/gpslocation.h
@@ -11,7 +11,7 @@
#include <QNetworkReply>
#include <QMap>
-#define GPS_CURRENT_POS QObject::tr("Waiting to aquire GPS location")
+#define GPS_CURRENT_POS gettextFromC::tr("Waiting to aquire GPS location")
struct gpsTracker {
degrees_t latitude;