diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-24 11:40:37 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-07-24 09:49:07 +0000 |
commit | 0cf22cc9f74594252bd744d6aee77cd3ee3ae0e8 (patch) | |
tree | 01cf88ed492d341b7177fc7285a944d5670edc50 /sources/shiboken2/ApiExtractor/qtdocparser.cpp | |
parent | ff0be5aba1c12be49b305e596a7610d197ca8427 (diff) |
shiboken: Fix invalid QStringRefs in type parser
The QStringRefs returned by QXmlStreamAttribute do not point
to some XML buffer but into a string within QXmlStreamAttribute
itself and thus become invalid when the attribute is removed
from the list. Store them in a QString instead.
Amends e0e44f0fd5b05ee299bd4e377b0d4a302c442aae.
Task-number: PYSIDE-743
Change-Id: I841eb70379af8e006868c6352283bf2970dd127d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/qtdocparser.cpp')
0 files changed, 0 insertions, 0 deletions