summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2011-08-05 10:58:08 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-21 22:20:09 +0200
commita4a09488ee979849f4e9b9b3b8590ad2a2472590 (patch)
treef285805c687a6a60873f276728ef18569398eb89 /tests
parentb3ca1d4a84ee65e9f9f1e1a4e6de9078279e2187 (diff)
Minimize encoding conversions when generating unique file name
With minor adjustments, createFileFromTemplate is made to work directly on (UTF-16) QString data, which is already in the native encoding for Windows and Symbian. This is possible because the function only fills out the placeholder sub-string, without touching adjacent characters. This eliminates unnecessary conversions on those platforms. Reviewed-by: Gareth Stockwell Reviewed-by: Shane Kearns (cherry picked from commit 9a76587363a2f37312326286e08cce502f7fe27e) Change-Id: I8732b88ece5e2befb2da2e717758954c9aa7e5b0 Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions