| 517 | } |
| 518 | |
| 519 | void MznProcess::flushOutput() |
| 520 | { |
| 521 | readStdOut(); |
| 522 | readStdErr(); |
| 523 | |
| 524 | auto stdOut = QString::fromUtf8(p.readAllStandardOutput()); |
| 525 | if (!stdOut.isEmpty()) { |
| 526 | onStdOutLine(stdOut); |
| 527 | } |
| 528 | |
| 529 | auto stdErr = QString::fromUtf8(p.readAllStandardError()); |
| 530 | if (!stdErr.isEmpty()) { |
| 531 | emit outputStdError(stdOut); |
| 532 | } |
| 533 | } |
| 534 | |
| 535 | void MznProcess::onStdOutLine(const QString& line) |
| 536 | { |
nothing calls this directly
no outgoing calls
no test coverage detected