forked from qt-creator/qt-creator
Message manager: Fix newline handling.
Appending it once is enough. Change-Id: I6133e4240c3434bc4a08afdb15ad4a1f6416fee4 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
6ae69447a4
commit
74bedd0583
@@ -82,11 +82,11 @@ void MessageManager::printToOutputPane(const QString &text, bool bringToForegrou
|
||||
|
||||
void MessageManager::printToOutputPanePopup(const QString &text)
|
||||
{
|
||||
printToOutputPane(text + QLatin1Char('\n'), true);
|
||||
printToOutputPane(text, true);
|
||||
}
|
||||
|
||||
void MessageManager::printToOutputPane(const QString &text)
|
||||
{
|
||||
printToOutputPane(text + QLatin1Char('\n'), false);
|
||||
printToOutputPane(text, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user