summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index d46e72984..b05b8022a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -14,6 +14,7 @@
#include "qthelper.h"
#include <QStringList>
+#include <QApplication>
#include <git2.h>
QTranslator *qtTranslator, *ssrfTranslator;
@@ -23,7 +24,7 @@ int main(int argc, char **argv)
int i;
bool no_filenames = true;
- init_qt(&argc, &argv);
+ QApplication *application = new QApplication(argc, argv);
QStringList files;
QStringList importedFiles;
QStringList arguments = QCoreApplication::arguments();