summaryrefslogtreecommitdiffstats
path: root/core/qt-init.cpp
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2016-05-01 21:27:35 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-05-02 07:07:21 -0700
commit8f35b7324e7ee053711363791a660bd279b81cc7 (patch)
tree32d0812bf56909716f0ad10d7fd48360c84523ed /core/qt-init.cpp
parent744e59688342ecdbbbadf1f2275b31d074647d7b (diff)
downloadsubsurface-8f35b7324e7ee053711363791a660bd279b81cc7.tar.gz
Move the qtTranslator and ssrfTranslator pointers to qt-init.cpp
No point in having it defined in each main program's .cpp. Especially since the unit tests don't define them. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r--core/qt-init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp
index 5dc25f9fc..3dffc6f31 100644
--- a/core/qt-init.cpp
+++ b/core/qt-init.cpp
@@ -5,6 +5,7 @@
#include "helpers.h"
char *settings_suffix = NULL;
+QTranslator *qtTranslator, *ssrfTranslator;
void init_qt_late()
{