aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/doc/snippets/qtquickcontrols-spinbox-prefix.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2025-08-05 12:17:51 +0200
committerUlf Hermann <ulf.hermann@qt.io>2025-08-07 00:55:12 +0200
commit792224d4f6caa4e5b66048faf98a066b622b9b06 (patch)
tree044e6bacb4583f62531cef01328a693336cf37b9 /src/quickcontrols/doc/snippets/qtquickcontrols-spinbox-prefix.qml
parentd18947eb09d135cea4603356d7511524e83e10e2 (diff)
QML Tooling: Streamline SearchResult construction
Realize that the "Error" enum value is unused and remove it. This way there is only a single invalid SearchResult: The default-constructed one. Using this, we can localize the SearchResults to the places where they are returned, hopefully helping compilers and tools to perform return value optimization. Coverity-Id: 486146 Coverity-Id: 486135 Change-Id: I110c3773b9089ae0c1ca3e1340c303991b4cfbe1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quickcontrols/doc/snippets/qtquickcontrols-spinbox-prefix.qml')
0 files changed, 0 insertions, 0 deletions