tst_qstorageinfo: Don't add extra newlines when printing volumes
The printVolumes function already adds line endings. Change-Id: Id2553f881ccc0ab3c8b8fc77d3096dd5d968abda Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
dafe20c948
commit
4020829ac8
@ -80,7 +80,7 @@ static int qInfoPrinter(const char *format, ...)
|
||||
// flush
|
||||
QtMessageHandler qt_message_print = qInstallMessageHandler(0);
|
||||
qInstallMessageHandler(qt_message_print); // restore the handler
|
||||
qt_message_print(QtInfoMsg, QMessageLogContext(), QString::fromLocal8Bit(buf));
|
||||
qt_message_print(QtInfoMsg, QMessageLogContext(), QString::fromLocal8Bit(buf).trimmed());
|
||||
bufuse = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user