Skip to content

1.3.0

Compare
Choose a tag to compare
@mottosso mottosso released this 06 Sep 09:03
· 167 commits to master since this release
3539a90

Updated QtCompat.wrapInstance to closer mimic the behavior of sip.wrapInstance when used with shiboken, in that it'll find the closest superclass rather than always resort to QObject.

This may, but shouldn't, affect the behavior of your code. One edgecase that comes to mind is if you've used type(myobject) == QObject rather than isinstance(myobject, QObject) in which case your test may now break. Hence I've updated the minor rather than the patch version of this release. If you spot anything else, feel free to raise an issue or submit a PR with a fix.