Compare commits

..

6 Commits

4 changed files with 9 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
[REPOSITORY_URL]
repository-url="https://git.mimbach49.de/GerhardHoffmann"
repository-url="https://ptu-config.atb-comm.de/ATB"
[DIRECTORIES]
plugin-directory="/usr/lib/"

View File

@@ -1,6 +1,7 @@
#include "dc_download.h"
#include "hwapi.h"
#include <DeviceController/interfaces.h>
#include <QFile>
#include <QDebug>
#include <QDateTime>
#include <QThread>

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);
QApplication a(argc, argv);
QApplication::setApplicationName("ATBUpdateTool");
QApplication::setApplicationName("ATBDownloadDCFirmware");
QApplication::setApplicationVersion(APP_VERSION);
if (!messageHandlerInstalled()) { // change internal qt-QDebug-handling
@@ -124,11 +124,12 @@ int main(int argc, char **argv) {
MainWindow mw;
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();
}

View File

@@ -414,10 +414,6 @@ bool Update::downloadJson(enum FileTypeJson type,
}
}
m_hw->dc_autoRequest(false);
qDebug() << "SET AUTO-REQUEST=FALSE";
QThread::sleep(1); // make sure the auto-request flag is acknowledged
return ret;
}