Separate initializing Qt from initializing the UI

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-06-16 06:52:06 -07:00
parent 6a0e1cd9f6
commit 0692e24036
5 changed files with 66 additions and 54 deletions

View file

@ -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();