summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/qandroidapkfileengine.cpp
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2025-09-30 15:09:31 +0200
committerMarc Mutz <[email protected]>2025-10-15 09:13:46 +0200
commit0f3793fea21b17e540265e0f802fdf7b1a6340fe (patch)
treecabfe7c023b0298d230e063ac40b6210c5fbbdbc /src/plugins/platforms/android/qandroidapkfileengine.cpp
parent43528b545dee0a82f475f4578368017e546f6e43 (diff)
QWinRegistryKey: de-pessimize stringValue()HEADdev
Don't create a QString object that we might not need (if the optional already contains one). Using value_or() with an argument that is not of trivial type is like having a function default argument of the same type: it's constructed whether we need it or not; one should use overloading instead (QTBUG-98117). Rewrite to the equally-readable check-and-return-else-default-construct. Amends 40523b68c14bf618bdc2d5438deebf34627be3af. Pick-to: 6.10 6.8 Task-number: QTBUG-98117 Change-Id: Iecd7fa9c3705c8416b5609e6d157079e10bfca59 Reviewed-by: Oliver Wolff <[email protected]>
Diffstat (limited to 'src/plugins/platforms/android/qandroidapkfileengine.cpp')
0 files changed, 0 insertions, 0 deletions