diff options
author | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-03-30 18:35:23 +0300 |
---|---|---|
committer | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-03-31 15:51:08 +0000 |
commit | f8192405ef9f819f0732d65a2b047c8dd5cfabb6 (patch) | |
tree | 55650993bdf5880dd3c24c2eb074f4a776fac3e4 /lib | |
parent | 32006535461d05d48bb8c63d27ed7e08215d7165 (diff) |
QTimeZonePrivate: avoid unnecessary allocations
... by replacing QString::split() with QString::splitRef()
and using the new overloaded functions:
- QLocalePrivate::languageToCode(QStringRef)
- QLocalePrivate::languageToCode(const QChar*, int)
Change-Id: I2884bdc6d3e27963ce121d659a5e092b10b4ef8c
Reviewed-by: Edward Welbourne <edward.welbourne@theqtcompany.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions