Commit 3e1cc4f
committed
[Win32] Properly reinitialize image of items on DPI changes
The current logic for reinitializing the image of an item on DPI changes
is insufficient as the default implementation of the called setImage()
method and many of the overwrites of that method do an early return in
case the image equals to the one that has already been set.
In order to force a reinitialization of the image, this change ensures
that the image is first removed and then reset.
Fixes #30731 parent dea17df commit 3e1cc4f
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| |||
0 commit comments