diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-02-09 12:14:40 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-02-11 19:25:43 +0000 |
commit | 276d6cf239bdb0a39ae589e13f60b2a31a2efb60 (patch) | |
tree | fccbcfd41c67d8137106e1a2af0fc2000228c17e /src/gui/kernel/qguiapplication.cpp | |
parent | 3ff5251740f4c4cca74177cc977ebe7df6e7f92b (diff) |
QImage: split strings with splitRef() in convertWithPalette()
Optimize the string splitting by using splitRef(),
avoiding the creation of lots of substrings. Twice.
While touching the for loop, port to C++11 range-for.
Change-Id: Ia666896bc5b96c4b6973498cc4a9eeb24cadba6d
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
0 files changed, 0 insertions, 0 deletions