Don't quote newlines in multi-line shader linker errors.

Change-Id: I055758b73a9992786b6c4542396dc82fda1444b5
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
Volker Krause 2016-03-13 11:10:06 +01:00 committed by Sean Harmer
parent e5ebf95bba
commit 434f2b8968

View File

@ -1050,9 +1050,9 @@ bool QOpenGLShaderProgram::link()
if (!d->linked) {
QString name = objectName();
if (name.isEmpty())
qWarning() << "QOpenGLShader::link:" << d->log;
qWarning("QOpenGLShader::link: %ls", qUtf16Printable(d->log));
else
qWarning() << "QOpenGLShader::link[" << name << "]:" << d->log;
qWarning("QOpenGLShader::link[%ls]: %ls", qUtf16Printable(name), qUtf16Printable(d->log));
}
delete [] logbuf;
}