From 9a39ad8dfb4e6d1a179bd0fa38026886f8f7cb8e Mon Sep 17 00:00:00 2001 From: Axel Spoerl Date: Mon, 31 Jul 2023 15:31:36 +0200 Subject: 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 --- src/plugins/platforms/android/qandroidplatformscreen.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/platforms/android') 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; -- cgit v1.2.3