Fix build break due to fprintf in previous commit

This commit is contained in:
Srivats P 2019-07-02 19:14:38 +05:30
parent f24a6719fa
commit 5e565167f2
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ void NoMsgHandler(QtMsgType type, const QMessageLogContext &/*context*/,
const QString &msg)
{
if (type == QtFatalMsg) {
fprintf(stderr, qPrintable(msg));
fprintf(stderr, "%s\n", qPrintable(msg));
fflush(stderr);
abort();
}

View File

@ -116,7 +116,7 @@ void NoMsgHandler(QtMsgType type, const QMessageLogContext &/*context*/,
const QString &msg)
{
if (type == QtFatalMsg) {
fprintf(stderr, qPrintable(msg));
fprintf(stderr, "%s\n", qPrintable(msg));
fflush(stderr);
abort();
}