polygon: use string literal

This commit is contained in:
itsmattkc
2021-01-22 12:20:41 +11:00
parent 8a5df32281
commit dfdb375cbf
+1 -1
View File
@@ -81,7 +81,7 @@ ShaderCode PolygonGenerator::GetShaderCode(const QString &shader_id) const
{
Q_UNUSED(shader_id)
return ShaderCode(FileFunctions::ReadFileAsString(":/shaders/polygon.frag"));
return ShaderCode(FileFunctions::ReadFileAsString(QStringLiteral(":/shaders/polygon.frag")));
}
NodeValueTable PolygonGenerator::Value(NodeValueDatabase &value) const