diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2019-09-11 11:46:47 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2019-09-20 13:01:14 +0200 |
commit | b8a911fbebfcd297ce08b91fbe85bb1624d257d9 (patch) | |
tree | 3d9a94d36976b7dc063a4386fdec7c1910105fa9 /src/widgets/styles | |
parent | 51f1428d3cd782c22226b0ee4bd7145a45762d86 (diff) |
QPainter: Avoid leaking memory on unbalanced save/restore
If a QPainter ended without all saved states having been restored, the
state stack would leak memory.
Fixes: QTBUG-77843
Change-Id: I760904d6391de24a4867be54fa1bebf76be14ba7
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/widgets/styles')
0 files changed, 0 insertions, 0 deletions