Qt/LogWidget: remove extra space

This commit is contained in:
Shawn Hoffman 2022-07-17 19:41:54 -07:00
parent 0a15d2fcec
commit 28828435bb
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void LogWidget::UpdateLog()
const std::string_view str_view(std::get<std::string>(line));
m_log_text->appendHtml(
QStringLiteral("%1 <span style=\"color: %2; white-space: pre\">%3</span>")
QStringLiteral("%1<span style=\"color: %2; white-space: pre\">%3</span>")
.arg(QStringFromStringView(str_view.substr(0, TIMESTAMP_LENGTH)),
QString::fromUtf8(color),
QStringFromStringView(str_view.substr(TIMESTAMP_LENGTH)).toHtmlEscaped()));