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>
This commit is contained in:
Thiago Macieira 2016-05-01 21:27:35 -07:00 committed by Dirk Hohndel
parent 744e596883
commit 8f35b7324e
4 changed files with 2 additions and 6 deletions

View file

@ -5,6 +5,7 @@
#include <QDebug>
#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);