-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
4.8.0, 5.11.1
-
None
-
Windows 7
These 2 lines of code, put in a slot and called by a timer, show there's a memory leak on Windows:
QPixmap pixmap (64, 64);
ui->toolButton->setIcon(pixmap);
A demonstration project is attached.
The leak doesn't happen when the same 2 lines of code are called within a for-loop.