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 Change-Id: Ifb43f83d39e16b972754e86d0ff9633f58dac3f8 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 9a39ad8dfb4e6d1a179bd0fa38026886f8f7cb8e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
c79e71fe2c
commit
b3c12b05e6
@ -172,7 +172,6 @@ bool QAndroidPlatformScreen::event(QEvent *event)
|
|||||||
|
|
||||||
void QAndroidPlatformScreen::addWindow(QAndroidPlatformWindow *window)
|
void QAndroidPlatformScreen::addWindow(QAndroidPlatformWindow *window)
|
||||||
{
|
{
|
||||||
Q_ASSERT(window->backingStore());
|
|
||||||
if (window->parent() && window->isRaster())
|
if (window->parent() && window->isRaster())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user