This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/webengine/api/qquickwebengineview.cpp b/src/webengine/api/qquickwebengineview.cpp | |
index 049e353..f5168f0 100644 | |
--- a/src/webengine/api/qquickwebengineview.cpp | |
+++ b/src/webengine/api/qquickwebengineview.cpp | |
@@ -444,11 +444,12 @@ void QQuickWebEngineView::geometryChanged(const QRectF &newGeometry, const QRect | |
QQuickItem::geometryChanged(newGeometry, oldGeometry); | |
Q_FOREACH(QQuickItem *child, childItems()) { | |
- Q_ASSERT( | |
#if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)) | |
- qobject_cast<RenderWidgetHostViewQtDelegateQuick *>(child) || | |
+ Q_ASSERT(qobject_cast<RenderWidgetHostViewQtDelegateQuick *>(child) || | |
+ qobject_cast<RenderWidgetHostViewQtDelegateQuickPainted *>(child)); | |
+#else | |
+ Q_ASSERT(qobject_cast<RenderWidgetHostViewQtDelegateQuickPainted *>(child)); | |
#endif | |
- qobject_cast<RenderWidgetHostViewQtDelegateQuickPainted *>(child)); | |
child->setSize(newGeometry.size()); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
still waiting:
x webengine forward define
x webengine literal
x webenginewidgets networking
x webenginewidgets func