summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/qmaterial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/materialsystem/qmaterial.cpp')
-rw-r--r--src/render/materialsystem/qmaterial.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/materialsystem/qmaterial.cpp b/src/render/materialsystem/qmaterial.cpp
index 8fb7581f4..2fb5a3a48 100644
--- a/src/render/materialsystem/qmaterial.cpp
+++ b/src/render/materialsystem/qmaterial.cpp
@@ -133,8 +133,8 @@
// Set different parameters on the materials
const QString parameterName = QStringLiteral("color");
- material1->addParameter(new QParameter(parameterName, QColor::fromRgbF(0.0f, 1.0f, 0.0f, 1.0f);
- material2->addParameter(new QParameter(parameterName, QColor::fromRgbF(1.0f, 1.0f, 1.0f, 1.0f);
+ material1->addParameter(new QParameter(parameterName, QColor::fromRgbF(0.0f, 1.0f, 0.0f, 1.0f)));
+ material2->addParameter(new QParameter(parameterName, QColor::fromRgbF(1.0f, 1.0f, 1.0f, 1.0f)));
\endcode
@@ -184,7 +184,7 @@ QMaterial::QMaterial(QMaterialPrivate &dd, QNode *parent)
Specifies the effect to be used with the material.
*/
/*!
- \property QMaterial::effect
+ \property Qt3DRender::QMaterial::effect
Specifies the effect to be used with the material.
*/