path: root/src/plugins/platforms/eglfs/qeglfsintegration.h
diff options
authorOswald Buddenhagen <>2020-09-11 11:11:45 +0200
committerMÃ¥rten Nordheim <>2020-09-28 22:08:40 +0200
commitb9290cb6e58b47542306c32872e5f53b1c61beee (patch)
tree1c1b6313217ea4578dac6c2046005938aa533568 /src/plugins/platforms/eglfs/qeglfsintegration.h
parent7ee9bfc158a290776f622f62d0202220c6d159bc (diff)
make {QString,QByteArray}::squeeze() work without prior reserve()HEADdev
string-shortening operations never throw away capacity (unless detaching), so it may very much make sense to squeeze a string whose capacity was not explicitly reserved. this does in fact restore the behavior prior to commit a3aa2fcf, which changed it presumably only due to not considering the case above. Change-Id: I0d7919a1724dd3ecc6cd4cbd7236eb52067f0a1c Reviewed-by: Andrei Golubev <> Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsintegration.h')
0 files changed, 0 insertions, 0 deletions