summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/ui4.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-05-31 09:03:20 +0200
committerMarc Mutz <marc.mutz@kdab.com>2017-06-02 10:30:47 +0000
commit5b99ac4eadfcc7c2cffce606c21415a242d8a83e (patch)
tree6761ed88649b489ca0944a0dca0dc990e11fdf38 /src/tools/uic/ui4.h
parentf68e4b8c315d4d370e3418a7ad736783828a46bb (diff)
uic: standardize property lookups on QHash::value()
This is the pattern used throughout the rest of the uic codebase, and is both more efficient (one lookup instead of two with an additional contains() call) and will allow porting to another container. In writeSpacerItem(), also gently optimize string handling. Change-Id: I20c7914089a699d2161d648b16d938e3a001ace3 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/tools/uic/ui4.h')
0 files changed, 0 insertions, 0 deletions