forked from qt-creator/qt-creator
QmlDesigner: Cleanup DebugView messages
These messages are purely technical and relate to implementation details. Therefore the strings should not be translated. We keep the original method names. Change-Id: I3f98aea7b9df3890bca097d1e6b77789204c8e19 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
f96851077a
commit
357cefe67c
@@ -67,16 +67,22 @@ void DebugViewWidget::addErrorMessage(const QString &topic, const QString &messa
|
||||
void DebugViewWidget::addLogInstanceMessage(const QString &topic, const QString &message, bool highlight)
|
||||
{
|
||||
if (highlight) {
|
||||
m_ui.instanceLog->appendHtml(QStringLiteral("<b><font color=\"blue\">")
|
||||
+ topic
|
||||
+ QStringLiteral("</b><br>")
|
||||
+ message);
|
||||
m_ui.instanceLog->appendHtml("<b><font color=\"blue\">"
|
||||
+ topic
|
||||
+ "</b><br>"
|
||||
+ "<p>"
|
||||
+ message
|
||||
+ "</p>"
|
||||
+ "<br>");
|
||||
|
||||
} else {
|
||||
m_ui.instanceLog->appendHtml(QStringLiteral("<b>")
|
||||
+ topic
|
||||
+ QStringLiteral("</b><br>")
|
||||
+ message);
|
||||
m_ui.instanceLog->appendHtml("<b>"
|
||||
+ topic
|
||||
+ "</b><br>"
|
||||
+ "<p>"
|
||||
+ message
|
||||
+ "</p>"
|
||||
+ "<br>");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user