summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcommandlineparser.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-09-08 16:25:44 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-09-08 23:41:15 +0200
commita7b50c40a0af8e617b73f581c019d0f16f7d04d8 (patch)
treeac86acaedfc0757336676a0aeecbf5901a9b4cf1 /src/corelib/tools/qcommandlineparser.cpp
parent2f945aaa263d4688724d11e6ba7f768c4dc6bdd0 (diff)
macOS file dialog refactor: don't heap allocate string and string list
We always allocated them in the constructor function, and never tested them for nullptr, so just manage them as regular members. As a drive-by, apply const to read-only variables in relevant code. Pick-to: 6.6 Change-Id: If0a3ac8982582f2adf5187a3c0357f4da93467fb Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions