Fix Qvariant to Cpp conversion.
Fix Qvariant to Cpp conversion.

Fixes bug #589

Reviewer: Hugo Parente Lima <e250cbdf6b5a11059e9d944a6e5e9282be80d14c@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>

BadSingleton/pyside2,BadSingleton/pyside2,M4rtinK/pyside-android,gbaty/pyside2,PySide/PySide,IronManMark20/pyside2,qtproject/pyside-pyside,M4rtinK/pyside-bb10,M4rtinK/pyside-android,PySide/PySide,M4rtinK/pyside-bb10,IronManMark20/pyside2,enthought/pyside,gbaty/pyside2,enthought/pyside,pankajp/pyside,PySide/PySide,RobinD42/pyside,M4rtinK/pyside-android,enthought/pyside,BadSingleton/pyside2,PySide/PySide,pankajp/pyside,RobinD42/pyside,RobinD42/pyside,qtproject/pyside-pyside,M4rtinK/pyside-android,M4rtinK/pyside-android,PySide/PySide,IronManMark20/pyside2,M4rtinK/pyside-bb10,M4rtinK/pyside-bb10,pankajp/pyside,RobinD42/pyside,BadSingleton/pyside2,M4rtinK/pyside-bb10,enthought/pyside,qtproject/pyside-pyside,qtproject/pyside-pyside,RobinD42/pyside,pankajp/pyside,enthought/pyside,gbaty/pyside2,BadSingleton/pyside2,pankajp/pyside,RobinD42/pyside,M4rtinK/pyside-bb10,RobinD42/pyside,qtproject/pyside-pyside,IronManMark20/pyside2,enthought/pyside,gbaty/pyside2,enthought/pyside,gbaty/pyside2,M4rtinK/pyside-android,IronManMark20/pyside2