diff options
| author | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-02-18 16:37:37 +0100 |
|---|---|---|
| committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-02-25 10:34:07 +0000 |
| commit | 78b2438037504ae80eaf6b01d49df9ddb660656a (patch) | |
| tree | 2ab113af877cb81e41cad5b0c74fe28aef40a446 /sources/pyside2/doc/tutorials/qmladvancedtutorial | |
| parent | fe9e90cd7fd54084438815f93616e7edaa19f7cb (diff) | |
Set proper parent when overloading QUiLoader
In a couple of methods of QUiLoader, we had a parent
override leaving the methods without the proper parent.
setParent(pyArgs[0], pyResult) # Correct
setParent(self, pyResult) # Wrong override
Defining the ownership to the target class corrects this
issue and just leaves the "Correct" approach.
Fixes: PYSIDE-938
Change-Id: Id20d74756e14c58caba2ab4c65484d15da88df16
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/doc/tutorials/qmladvancedtutorial')
0 files changed, 0 insertions, 0 deletions
