Fixed imcompatibility with PySide. (cherry picked from commit 2df4b74907ccc33767f42651c9a38f8367f193d5)
Fixed imcompatibility with PySide.
(cherry picked from commit 2df4b74907ccc33767f42651c9a38f8367f193d5)

ivanimanishi/gaffer,paulondc/gaffer,lucienfostier/gaffer,GafferHQ/gaffer,cedriclaunay/gaffer,ImageEngine/gaffer,hradec/gaffer,appleseedhq/gaffer,boberfly/gaffer,cedriclaunay/gaffer,appleseedhq/gaffer,GafferHQ/gaffer,appleseedhq/gaffer,goddardl/gaffer,ivanimanishi/gaffer,lucienfostier/gaffer,boberfly/gaffer,johnhaddon/gaffer,GafferHQ/gaffer,GafferHQ/gaffer,cedriclaunay/gaffer,appleseedhq/gaffer,andrewkaufman/gaffer,ImageEngine/gaffer,hradec/gaffer,paulondc/gaffer,johnhaddon/gaffer,chippey/gaffer,andrewkaufman/gaffer,goddardl/gaffer,davidsminor/gaffer,davidsminor/gaffer,boberfly/gaffer,paulondc/gaffer,andrewkaufman/gaffer,lucienfostier/gaffer,ivanimanishi/gaffer,hradec/gaffer,davidsminor/gaffer,davidsminor/gaffer,andrewkaufman/gaffer,ImageEngine/gaffer,johnhaddon/gaffer,ivanimanishi/gaffer,hradec/gaffer,johnhaddon/gaffer,hradec/gaffer,paulondc/gaffer,andrewkaufman/gaffer,johnhaddon/gaffer,boberfly/gaffer,chippey/gaffer,chippey/gaffer,lucienfostier/gaffer,goddardl/gaffer,chippey/gaffer,GafferHQ/gaffer,ImageEngine/gaffer,goddardl/gaffer,cedriclaunay/gaffer