diff options
author | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-08-18 12:31:26 +0300 |
---|---|---|
committer | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-08-19 12:08:23 +0000 |
commit | 25dd9c521fc064a71db63b110b7973225ee20c02 (patch) | |
tree | 7eb4c142701da76871c5294bb996a2d64213e969 /src/tools | |
parent | 8ff2955f99485f85dd2cc235f4c25a77f52633ac (diff) |
qdnd.cpp: Extract Method imageMimeFormats
imageReadMimeFormats and imageWriteMimeFormats had
duplicated source code.
While touching the code, do some optimizations:
- use QStringBuilder more
- replace index based loop with 'range for'
Change-Id: I174456bf4e55e030930b9b5a4aaef57c722d8f05
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions