Minor: save result in m_commandResult.

This commit is contained in:
Gerhard Hoffmann 2025-02-21 12:41:26 +01:00
parent eddf67739a
commit 5bae9fcdf1

View File

@ -31,7 +31,8 @@ void Command::readyReadStandardOutput() {
if (p) {
QString s = p->readAllStandardOutput();
if (m_verbose) {
qCritical().noquote() << s;
// qCritical().noquote() << s;
m_commandResult += s;
}
}
}
@ -39,7 +40,9 @@ void Command::readyReadStandardOutput() {
void Command::readyReadStandardError() {
QProcess *p = (QProcess *)sender();
if (p) {
qCritical().noquote() << p->readAllStandardError();
QString s = p->readAllStandardError();
// qCritical().noquote() << s;
m_commandResult += s;
}
}