summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpainter.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-06-16 16:51:18 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-06-16 16:56:35 +0200
commite01e848df4519e8ab9755da41188abdede5b0fb8 (patch)
tree7a608100a05f7821fc1b430a667016e13902593b /src/gui/painting/qpainter.cpp
parent3bc10fb9bb930c4e1baf52f9d0ba97616e8e77f6 (diff)
QMimeType: towards re-entrancy: do not cache iconName made from mimetype name
To not write into a shared object without mutex protection. If the stored icon name is empty, just calculate a new one on each call. Task-number: QTBUG-45684 Change-Id: I01dfb6697b5275e69451da91fdc7346f40bc424e Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
0 files changed, 0 insertions, 0 deletions