diff --git a/DownloadDCFirmware/main.cpp b/DownloadDCFirmware/main.cpp index 4c508fa..560c215 100644 --- a/DownloadDCFirmware/main.cpp +++ b/DownloadDCFirmware/main.cpp @@ -1,7 +1,6 @@ #include #include -#include #include #include @@ -16,7 +15,6 @@ #include "commandline_parser.h" #include "utils.h" #include "update.h" -#include "mainwindow.h" #include "System.h" #include @@ -54,9 +52,9 @@ int main(int argc, char **argv) { openlog("DC", LOG_PERROR | LOG_CONS, LOG_USER); - QApplication a(argc, argv); - QApplication::setApplicationName("ATBDownloadDCFirmware"); - QApplication::setApplicationVersion(APP_VERSION); + QCoreApplication a(argc, argv); + QCoreApplication::setApplicationName("ATBDownloadDCFirmware"); + QCoreApplication::setApplicationVersion(APP_VERSION); if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling atbInstallMessageHandler(atbDebugOutput);