mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Separate initializing Qt from initializing the UI
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6a0e1cd9f6
commit
0692e24036
5 changed files with 66 additions and 54 deletions
3
main.cpp
3
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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue