summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstyle_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-02-04 11:14:08 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-02-04 11:15:25 +0000
commit276de71be7309601963c87d0f3a658ae399d98e7 (patch)
treeb2489cb724191abc0bc46708deef9290146bff4d /src/widgets/styles/qstyle_p.h
parenta2bcf43eb974d6ca725c11e06f1621db1d488892 (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 'src/widgets/styles/qstyle_p.h')
0 files changed, 0 insertions, 0 deletions