summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
-rw-r--r--src/widgets/kernel/qwidget.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
index 64e55bd34b..b8ae2875a8 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -1332,11 +1332,6 @@ void QWidgetPrivate::create()
QBackingStore *store = q->backingStore();
usesRhiFlush = false;
- // Re-use backing store, in case a new platform window was created and doesn't know about it.
- // (e.g. QAndroidPlatformWindow)
- if (store && q->windowHandle())
- q->windowHandle()->handle()->setBackingStore(store->handle());
-
if (!store) {
if (q->windowType() != Qt::Desktop) {
if (q->isWindow()) {