diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-08-01 09:27:57 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-08-02 18:46:34 +0200 |
| commit | 55f41eb6732d5577eacaf181d5c092c3e15a2b4e (patch) | |
| tree | 2dbfce1bce7811d16a82d0de1871050b25f8463f /src/widgets/doc/snippets/qtreewidgetitemiterator-using/mainwindow.cpp | |
| parent | f7662366b120c1cacd43a2c2ae36b03f578d7478 (diff) | |
QIcon: don't detach in setIsMask if value doesn't change
QQuickLabsPlatformIconLoader calls setIsMask on the icon to reflect the
value from the Icon element, and usually that doesn't change the value.
Detaching it anyway results in the icon no longer reusing the cached
engine.
Task-number: QTBUG-127614
Pick-to: 6.8 6.7 6.5
Change-Id: Iead04d8a8a2342b03858cf5f72b43c51d442dd6b
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'src/widgets/doc/snippets/qtreewidgetitemiterator-using/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
