summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2023-07-31 15:31:36 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2023-07-31 16:19:48 +0000
commit9a39ad8dfb4e6d1a179bd0fa38026886f8f7cb8e (patch)
treef6ce84be41148bb5c62a6d05ca15b52ff4526b22 /src/plugins/platforms/android
parent5993480b691da713da1501190d1207e2724fa565 (diff)
Remove assertion in QAndroidPlatformScreen::addWindow()
QAndroidPlatformScreen::addWindow() asserted the existence of a backing store, when a window is added. But QQuickWindow neither needs nor has a backing store. This patch removes the assertion, which was introduced in dbb072eb2838a04e89e34dad686394a496d5de87 Task-number: QTBUG-97482 Pick-to: 6.6 6.5 6.2 5.15 Change-Id: Ifb43f83d39e16b972754e86d0ff9633f58dac3f8 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/plugins/platforms/android')
-rw-r--r--src/plugins/platforms/android/qandroidplatformscreen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/android/qandroidplatformscreen.cpp b/src/plugins/platforms/android/qandroidplatformscreen.cpp
index 6c61306d02..2f33816824 100644
--- a/src/plugins/platforms/android/qandroidplatformscreen.cpp
+++ b/src/plugins/platforms/android/qandroidplatformscreen.cpp
@@ -172,7 +172,6 @@ bool QAndroidPlatformScreen::event(QEvent *event)
void QAndroidPlatformScreen::addWindow(QAndroidPlatformWindow *window)
{
- Q_ASSERT(window->backingStore());
if (window->parent() && window->isRaster())
return;