diff options
-rw-r--r-- | core/qt-init.cpp | 2 | ||||
-rw-r--r-- | core/qthelper.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp index 99b101fdc..aae24bda4 100644 --- a/core/qt-init.cpp +++ b/core/qt-init.cpp @@ -7,7 +7,7 @@ #include "core/subsurface-qt/SettingsObjectWrapper.h" char *settings_suffix = NULL; -QTranslator *qtTranslator, *ssrfTranslator; +static QTranslator *qtTranslator, *ssrfTranslator; void init_qt_late() { diff --git a/core/qthelper.h b/core/qthelper.h index d23695f7f..c5aef1dd1 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -10,9 +10,6 @@ #include <QTranslator> #include <QDir> -// global pointers for our translation -extern QTranslator *qtTranslator, *ssrfTranslator; - QString weight_string(int weight_in_grams); QString distance_string(int distanceInMeters); bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_text, bool *parsed_out = 0); |