Diffusion Clazy 012dcb71a8b2

QStringRef also has (since Qt5.1) a trimmed() function. This can be used to…

Authored by chehrlic on Dec 2 2016, 8:47 PM.

Description

QStringRef also has (since Qt5.1) a trimmed() function. This can be used to avoid useless QString allocations within foo.mid(6).trimmed() -> foo.midRef(6).trimmed().toString() REVIEW: 129602

Details

Committed
chehrlicDec 4 2016, 3:43 PM
Parents
R74:afe380b33b28: Add the returning-data-from-temporary check to README.md
Branches
Unknown
Tags
Unknown