change for testing

This commit is contained in:
Gerhard Hoffmann 2025-03-07 12:16:35 +01:00
parent 79af890be6
commit 57e65e2234

View File

@ -50,7 +50,7 @@ void Command::readyReadStandardOutput() {
s = s.mid(0, i).trimmed(); s = s.mid(0, i).trimmed();
} }
} }
emit m_worker->showDcDownload(s); // emit m_worker->showDcDownload(s);
} else } else
if ((i = s.indexOf("<DC-PROGRESS>")) != -1) { if ((i = s.indexOf("<DC-PROGRESS>")) != -1) {
bool ok; bool ok;
@ -61,14 +61,15 @@ void Command::readyReadStandardOutput() {
} }
} else } else
if ((i = s.indexOf("<DC-UPDATE-FINISH>")) != -1) { if ((i = s.indexOf("<DC-UPDATE-FINISH>")) != -1) {
m_worker->summary(); emit m_worker->summary();
// qApp->exit(0); // qApp->exit(0);
} else } else
if ((i = s.indexOf("<DC-UPDATE-SUCCESS>")) != -1) { if ((i = s.indexOf("<DC-UPDATE-SUCCESS>")) != -1) {
m_worker->summary(); // TODO
emit m_worker->summary();
} else } else
if ((i = s.indexOf("<DC-UPDATE-FAILURE>")) != -1) { if ((i = s.indexOf("<DC-UPDATE-FAILURE>")) != -1) {
m_worker->summary(); emit m_worker->summary();
//qApp->exit(-1); //qApp->exit(-1);
} else } else
if ((i = s.indexOf("<JS-PROGRESS>")) != -1) { if ((i = s.indexOf("<JS-PROGRESS>")) != -1) {