Use initialiser list

Test Plan: Ran

Reviewers: #plasma, mart

Reviewed By: mart

Subscribers: plasma-devel, #frameworks

Tags: #plasma, #frameworks

Differential Revision: https://phabricator.kde.org/D4857
This commit is contained in:
David Edmundson 2017-03-06 00:13:22 +00:00
parent 586ed85561
commit f8bedf84b7

View File

@ -54,7 +54,7 @@ FadingMaterialShader::FadingMaterialShader()
QList<QByteArray> FadingMaterialShader::attributes() const
{
return QList<QByteArray>() << "qt_Vertex" << "qt_MultiTexCoord0";
return {QByteArrayLiteral("qt_Vertex"), QByteArrayLiteral("qt_MultiTexCoord0")};
}
void FadingMaterialShader::updateState(const FadingMaterialState* newState, const FadingMaterialState* oldState)