This commit fixes an interoperability issue with PySide.

Change-Id: Idd1b479882ab4a976ec055290a29de82fdf7fd31
Merge topic 'bug-fix-pyside' into master

493dee9d This commit fixes an interoperability issue with PySide.