Reimplement QGraphicsEffect::sourceChanged() properly
authorBradley T. Hughes <bradley.hughes@nokia.com>
Tue, 20 Dec 2011 08:26:30 +0000 (09:26 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 21 Dec 2011 19:32:36 +0000 (20:32 +0100)
commitf0710e1d951c0d44582b06fa276a4d3a63605cda
tree1f0572994b37df640c86a1b6ed3c659c1e89e302
parent103c2e3690d24c454f49a9a888f696fbaf6a3324
Reimplement QGraphicsEffect::sourceChanged() properly

sourceChanged() takes one argument, not zero.

tests/auto/widgets/graphicsview/qgraphicseffectsource/tst_qgraphicseffectsource.cpp:125:
warning: 'CustomEffect::sourceChanged' hides overloaded virtual function
[-Woverloaded-virtual]
    void sourceChanged()
         ^
src/widgets/effects/qgraphicseffect.h:104:
hidden overloaded virtual function 'QGraphicsEffect::sourceChanged'
declared here
    virtual void sourceChanged(ChangeFlags flags);
                 ^

Change-Id: If227b7b79c4a2fc3d21f93e371510ddccb408d7d
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
tests/auto/widgets/graphicsview/qgraphicseffectsource/tst_qgraphicseffectsource.cpp