Merge branch 'master' of git.mimbach49.de:GerhardHoffmann/ATBUpdateTool

This commit is contained in:
Siegfried Siegert 2024-06-05 17:33:54 +02:00
commit 5d141b7234
Signed by untrusted user: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -55,7 +55,7 @@ int main(int argc, char **argv) {
openlog("ATB-UPDATE-DC-FIRMWARE", LOG_PERROR | LOG_PID | LOG_CONS, LOG_USER); openlog("ATB-UPDATE-DC-FIRMWARE", LOG_PERROR | LOG_PID | LOG_CONS, LOG_USER);
QApplication a(argc, argv); QApplication a(argc, argv);
QApplication::setApplicationName("ATBUpdateTool"); QApplication::setApplicationName("ATBDownloadDCFirmware");
QApplication::setApplicationVersion(APP_VERSION); QApplication::setApplicationVersion(APP_VERSION);
if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling
@ -124,11 +124,12 @@ int main(int argc, char **argv) {
MainWindow mw; MainWindow mw;
mw.setWindowFlags(Qt::Window | Qt::FramelessWindowHint); mw.setWindowFlags(Qt::Window | Qt::FramelessWindowHint);
//mw.showFullScreen(); // mw.showFullScreen();
qCritical() << "SHOW"; // qCritical() << "SHOW";
mw.show(); // mw.show();
return a.exec(); return 0;
// return a.exec();
} }