| 210 | } |
| 211 | |
| 212 | void GDBOutputWidget::newStdoutLine(const QString& line, |
| 213 | bool internal) |
| 214 | { |
| 215 | QString s = line.toHtmlEscaped(); |
| 216 | if (s.startsWith(QLatin1String("(gdb)"))) |
| 217 | { |
| 218 | colorify(s, m_gdbColor); |
| 219 | } |
| 220 | else |
| 221 | s.replace(QLatin1Char('\n'), QLatin1String("<br>")); |
| 222 | |
| 223 | addFormattedLine(s, internal); |
| 224 | } |
| 225 | |
| 226 | void GDBOutputWidget::addFormattedLine(const QString& line, bool internal) |
| 227 | { |
nothing calls this directly
no test coverage detected