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:
parent
586ed85561
commit
f8bedf84b7
@ -54,7 +54,7 @@ FadingMaterialShader::FadingMaterialShader()
|
|||||||
|
|
||||||
QList<QByteArray> FadingMaterialShader::attributes() const
|
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)
|
void FadingMaterialShader::updateState(const FadingMaterialState* newState, const FadingMaterialState* oldState)
|
||||||
|
Loading…
Reference in New Issue
Block a user