summaryrefslogtreecommitdiffstats
path: root/qt-gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r--qt-gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index 86731bb36..5da140765 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -1866,7 +1866,6 @@ QStringList MainWindow::fileNameFilters() const
void init_qt_ui(int *argcp, char ***argvp)
{
- application = new QApplication(*argcp, *argvp);
application->installTranslator(new Translator(application));
MainWindow *window = new MainWindow();
window->show();
@@ -1874,6 +1873,7 @@ void init_qt_ui(int *argcp, char ***argvp)
void init_ui(int *argcp, char ***argvp)
{
+ application = new QApplication(*argcp, *argvp);
GtkWidget *win;
GtkWidget *nb_page;
GtkWidget *dive_list;