Do not disable the exit button.

This commit is contained in:
Gerhard Hoffmann 2023-11-03 13:45:54 +01:00
parent 003bd0bf77
commit 3621777827

View File

@ -189,7 +189,8 @@ class Worker : public QObject {
explicit UpdateProcessRunning(Worker *worker) : m_worker(worker) {
m_worker->m_updateProcessRunning = true;
emit m_worker->disableExit();
// emit m_worker->disableExit();
emit m_worker->enableExit();
m_worker->startProgressLoop();
}
@ -288,7 +289,7 @@ private:
public:
QDebug CONSOLE(QStringList const &lst = QStringList()) {
m_debugMsg = lst;
return qDebug();
return QDebug(QtMsgType::QtInfoMsg);
}
IsmasClient &ISMAS(QStringList const &lst = QStringList()) {
@ -551,10 +552,16 @@ private:
case UPDATE_STEP::DOWNLOAD_CONFIG_FILE_FAILURE:
break;
case UPDATE_STEP::DOWNLOAD_DEVICE_CONTROLLER:
lst << instance->m_debugMsg;
Utils::printUpdateStatusMsg(debug, lst);
break;
case UPDATE_STEP::DOWNLOAD_DEVICE_CONTROLLER_SUCCESS:
lst << instance->m_debugMsg;
Utils::printUpdateStatusMsg(debug, lst);
break;
case UPDATE_STEP::DOWNLOAD_DEVICE_CONTROLLER_FAILURE:
lst << instance->m_debugMsg;
Utils::printUpdateStatusMsg(debug, lst);
break;
case UPDATE_STEP::APPLY_REPOSITORY_CHANGES_SUCCESS:
break;