summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgraphicsshadereffect.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-20 20:16:42 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-20 20:16:42 (GMT)
commit547224c750a090222836f90532ff405ed5171358 (patch)
tree8ba50075dace827bbd8214c2a4bfbcb6c584e972 /src/opengl/qgraphicsshadereffect.cpp
parentee2670460af760bf07c47950a8cca37bd6814f2b (diff)
downloadQt-547224c750a090222836f90532ff405ed5171358.zip
Qt-547224c750a090222836f90532ff405ed5171358.tar.gz
Qt-547224c750a090222836f90532ff405ed5171358.tar.bz2
Add "QObject *parent = 0" to QGraphicsShaderEffect constructor.
See also 39f5298ef2c0424e7b4916d8d1de1d46e534daee
Diffstat (limited to 'src/opengl/qgraphicsshadereffect.cpp')
-rw-r--r--src/opengl/qgraphicsshadereffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qgraphicsshadereffect.cpp b/src/opengl/qgraphicsshadereffect.cpp
index e8d9ae3..e8741b5 100644
--- a/src/opengl/qgraphicsshadereffect.cpp
+++ b/src/opengl/qgraphicsshadereffect.cpp
@@ -182,8 +182,8 @@ public:
/*!
Constructs a shader effect and attaches it to \a parent.
*/
-QGraphicsShaderEffect::QGraphicsShaderEffect()
- : QGraphicsEffect(*new QGraphicsShaderEffectPrivate())
+QGraphicsShaderEffect::QGraphicsShaderEffect(QObject *parent)
+ : QGraphicsEffect(*new QGraphicsShaderEffectPrivate(), parent)
{
}