diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-02-11 01:05:06 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-02-13 13:55:01 +0100 |
commit | cce303b6a70bfc5e7f191529724969ca7509039f (patch) | |
tree | c56280ca7c307b4a830de47290769a572a4ca96e /src/plugins/platforms/cocoa/qcocoabackingstore.mm | |
parent | ea0cf4a9a2535110d6cf325e75537b4618a7374f (diff) |
Add QPlatformIntegration::BackingStoreStaticContents capability
This was a feature in Qt 4, but the only platform that carried it over
to Qt 5 was Windows, in ab76593f18396e693f24066592244ca95e135ea2, and
that's still the situation.
As a first step in possibly implementing this on more platforms, lets
replace the hard-coded check in QWidgetRepaintManager::hasStaticContents
with a proper QPlatformIntegration capability check in the only call site.
Pick-to: 6.7
Change-Id: I2067109f45116cd8c62facf7224cd748f19e845b
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoabackingstore.mm')
0 files changed, 0 insertions, 0 deletions