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. Task-number: QTBUG-97482 Task-number: QTBUG-115691 Change-Id: Id32fdd3d8af1fced17983dd104318645a5578b8c Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit f91588923b1e7b68f1bd79b38af44d024df85996) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
cbaecba8dc
commit
95291e4a8a
@ -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