MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / getErrorHtml

Method getErrorHtml

Components/LogDialog.cpp:128–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128QString
129LogDialog::getErrorHtml(void) const
130{
131 QString errText = "<ul>";
132
133 for (auto &p: this->msgVec) {
134 if (p.severity == SU_LOG_SEVERITY_CRITICAL ||
135 p.severity == SU_LOG_SEVERITY_ERROR)
136 errText += "<li>" + QString::fromStdString(p.message).trimmed() + "</li>";
137 }
138
139 return errText + "</ul>";
140}
141
142void
143LogDialog::onMessage(Suscan::LoggerMessage msg)

Callers 1

notifyStartupErrorsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected