| 214 | } |
| 215 | |
| 216 | QString TextColorHtml(const QString &text, const QString &color) |
| 217 | { |
| 218 | if (text.isEmpty()) |
| 219 | return ""; |
| 220 | |
| 221 | return R"(<font color=")" + color + R"(">)" + text.toHtmlEscaped() + R"(</font>)"; |
| 222 | } |
| 223 | |
| 224 | |
| 225 | /* |
no test coverage detected