diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-02-04 11:14:08 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-02-04 11:15:25 +0000 |
commit | 276de71be7309601963c87d0f3a658ae399d98e7 (patch) | |
tree | b2489cb724191abc0bc46708deef9290146bff4d /tools | |
parent | a2bcf43eb974d6ca725c11e06f1621db1d488892 (diff) |
Handle failure of Windows XP theme painting functions for PE_FrameWindow.
QWindowsXPStylePrivate::buffer() can fail due to CreateDIBSection()
failing for large sizes. Introduce a bool return for the
QWindowsXPStylePrivate::drawBackground() helpers and fall back to
QWindowsStyle:::drawPrimitive() should that happen for PE_FrameWindow
in QWindowsXPStyle::drawPrimitive().
Task-number: QTBUG-44282
Change-Id: I122d84576455bbad8e6639022da5bf64f79aed3a
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions