From 8f35b7324e7ee053711363791a660bd279b81cc7 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sun, 1 May 2016 21:27:35 -0700 Subject: 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 Signed-off-by: Dirk Hohndel --- export-html.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'export-html.cpp') diff --git a/export-html.cpp b/export-html.cpp index 0c270c6fc..e030cb6c5 100644 --- a/export-html.cpp +++ b/export-html.cpp @@ -5,6 +5,7 @@ #include #include "qt-gui.h" +#include "qthelper.h" #include "dive.h" #include "save-html.h" #include "stdio.h" @@ -14,8 +15,6 @@ #include "windowtitleupdate.h" #include "statistics.h" -QTranslator *qtTranslator, *ssrfTranslator; - int main(int argc, char **argv) { QApplication *application = new QApplication(argc, argv); -- cgit v1.2.3-70-g09d2