diff options
author | Aleix Pol <aleixpol@kde.org> | 2016-08-05 16:29:32 +0200 |
---|---|---|
committer | Aleix Pol <aleixpol@codereview.qt-project.org> | 2016-09-29 02:59:05 +0000 |
commit | 433e5ccf507fc153db589df80655618f241af0c3 (patch) | |
tree | 9eaaca90770ca58293798e3a20e9397498d4aaf1 /src/widgets/graphicsview/qgraphicslayoutitem.cpp | |
parent | d322ea4e7d40ff258d407b58e194e4e6c8a06cd5 (diff) |
Reduce memory allocations when reading the QMimeType list
Use QTextStream::readLineInto instead of using N internal buffers
temporarily to read the mime types file into a QSet<QString>.
Change-Id: I05110a4d484cc9485ceb3bc2be2fc7c78f4b2434
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicslayoutitem.cpp')
0 files changed, 0 insertions, 0 deletions