From f5141e316bda70430280a3ac2e6dec3f6c148e9e Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 28 Apr 2011 15:52:34 +0200 Subject: [PATCH] Message manager: Add '\n' to messages. Fixing some missing newlines on warnings. Reviewed-by: dt --- src/plugins/coreplugin/messagemanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/coreplugin/messagemanager.cpp b/src/plugins/coreplugin/messagemanager.cpp index 0956972435..a9794f8ed7 100644 --- a/src/plugins/coreplugin/messagemanager.cpp +++ b/src/plugins/coreplugin/messagemanager.cpp @@ -77,16 +77,16 @@ void MessageManager::printToOutputPane(const QString &text, bool bringToForegrou return; if (bringToForeground) m_messageOutputWindow->popup(false); - m_messageOutputWindow->append(text); + m_messageOutputWindow->append(text + QLatin1Char('\n')); } void MessageManager::printToOutputPanePopup(const QString &text) { - printToOutputPane(text, true); + printToOutputPane(text + QLatin1Char('\n'), true); } void MessageManager::printToOutputPane(const QString &text) { - printToOutputPane(text, false); + printToOutputPane(text + QLatin1Char('\n'), false); } -- 2.11.0