| 184 | |
| 185 | namespace { |
| 186 | void colorify(QString& text, const QColor& color) |
| 187 | { |
| 188 | if (text.endsWith(QLatin1Char('\n'))) { |
| 189 | text.chop(1); |
| 190 | } |
| 191 | text = QLatin1String("<font color=\"") + color.name() + QLatin1String("\">") + text + QLatin1String("</font><br>"); |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | void GDBOutputWidget::receivedStderrOrLog(const QString& line) |
no test coverage detected