| 599 | } |
| 600 | |
| 601 | void BuildManager::addOutput(const QString &content, const OutputPane::OutputFormat format) |
| 602 | { |
| 603 | QString newContent = content; |
| 604 | if (OutputPane::OutputFormat::NormalMessage == format |
| 605 | || OutputPane::OutputFormat::ErrorMessage == format |
| 606 | || OutputPane::OutputFormat::StdOut == format) { |
| 607 | |
| 608 | QDateTime curDatetime = QDateTime::currentDateTime(); |
| 609 | QString time = curDatetime.toString("hh:mm:ss"); |
| 610 | newContent = time + ": " + newContent; |
| 611 | } |
| 612 | d->compileOutputPane->appendText(newContent, format); |
| 613 | } |
| 614 | |
| 615 | void BuildManager::outBuildState(const BuildState &buildState) |
| 616 | { |
no test coverage detected