Commit e75e334d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean up code

parent d1aec3cf
......@@ -868,15 +868,9 @@ void ViewerPrivate::displayMessage()
}
htmlWriter()->write(QStringLiteral(
"<div style=\"background:%1;color:%2;border:1px solid %3\">%4</div>").arg(
mBackgroundError.
name(),
mForegroundError
.
name(),
mForegroundError
.
name(), attr->message().toHtmlEscaped()));
"<div style=\"background:%1;color:%2;border:1px solid %2\">%3</div>").arg(
mBackgroundError.name(),
mForegroundError.name(), attr->message().toHtmlEscaped()));
htmlWriter()->write(QStringLiteral("<p></p>"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment