diff options
author | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-06-24 10:31:07 +0200 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-06-30 12:27:04 +0000 |
commit | 52e7aba6bf717c673151c9267040c7a90dbea039 (patch) | |
tree | b9bad5de62d3ddca7c9b2b3987c0af6366f7a17c /src/gui/painting/qpaintengine_raster.cpp | |
parent | b0852eb2714eac824bff36216b3301f2e02f82a9 (diff) |
QFileIconEngine: Remove reference to QFileIconProvider
Keeping the reference may end up in a crash if a created
QIcon outlives the QFileIconProvider and we then try to
generate a pixmap.
The reference is not necessary since the options are queried
only when creating the icon, so they can be saved in the icon
provider.
Task-number: QTBUG-46755
Change-Id: I5c60887c2ed39030a2a20298ff10fd652189e4e7
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
0 files changed, 0 insertions, 0 deletions