summaryrefslogtreecommitdiff
path: root/dependencies.yaml
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2023-03-28 22:42:49 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2023-04-13 14:01:56 +0200
commit015a1ed8e06c92a8dc788ab71f42f1c247e99405 (patch)
treea6a2fc3e30ed7e05fc8ced05aac5e5784f470c78 /dependencies.yaml
parent922c89cf955f5703fca015f25e681cbcc783d580 (diff)
downloadqtdeclarative-015a1ed8e06c92a8dc788ab71f42f1c247e99405.tar.gz
QQmlScriptString: Avoid allocation in default constructed state
Classes like QQuickAnchorSetPrivate have multiple script string properties, most of them being unused. Avoid allocating memory in that case by simply letting the d pointer be null, and adding null-checks in the various accessor methods. Change-Id: I4b7a1298c4a5892028174b82c3a92ccd93bdf65e Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'dependencies.yaml')
0 files changed, 0 insertions, 0 deletions