aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickpositioners.cpp
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2012-02-22 18:13:29 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-29 05:21:36 +0100
commit7fa6fcd30cb4a688eae744cae4abf9f263c16616 (patch)
tree860605cea43423860c040bc587fe9016e9033e8e /src/quick/items/qquickpositioners.cpp
parentab727e6702e949c8f36649f16a81780746ebb2de (diff)
Avoid unneccessary duplication of string data.
Check for the existence of new line characters before trying to replace them. There's some redundancy if the characters are found but for single line strings we avoid the detach in replace. Change-Id: I48ccc614601a6f356b3d2e68f617e112c100bbdd Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'src/quick/items/qquickpositioners.cpp')
0 files changed, 0 insertions, 0 deletions