diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-20 20:16:42 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-20 20:16:42 (GMT) |
commit | 547224c750a090222836f90532ff405ed5171358 (patch) | |
tree | 8ba50075dace827bbd8214c2a4bfbcb6c584e972 /src/opengl/qgraphicsshadereffect.cpp | |
parent | ee2670460af760bf07c47950a8cca37bd6814f2b (diff) | |
download | Qt-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.cpp | 4 |
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) { } |