QPlatformWindow: add a macro when setBackingStore() is virtual
This is the only way to detect, and act upon, the addition of the virtual function in other Qt modules. Amends a4ca9e80658bca7dad1529f03c1b59173a6ecf62. Pick-to: 6.6 Task-number: QTBUG-97482 Task-number: QTBUG-115691 Change-Id: Id32fdd3d8af1fced17983dd104318645a5578b8c Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
parent
c91146b9ef
commit
f91588923b
@ -118,6 +118,7 @@ public:
|
||||
virtual void requestUpdate();
|
||||
bool hasPendingUpdateRequest() const;
|
||||
virtual void deliverUpdateRequest();
|
||||
#define QT_PLATFORM_WINDOW_HAS_VIRTUAL_SET_BACKING_STORE // remove when all modules have migrated
|
||||
virtual void setBackingStore(QPlatformBackingStore *) {}
|
||||
|
||||
// Window property accessors. Platform plugins should use these
|
||||
|
Loading…
x
Reference in New Issue
Block a user