summaryrefslogtreecommitdiffstats
path: root/src/webengine/render_widget_host_view_qt_delegate_quickwindow.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-06 14:45:09 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-07 15:06:47 +0000
commit99d46a8a918dee7323bc3d4f1624c47c097f9a3a (patch)
tree2070028bb48eed331f16e12afbd553dd31fb6db3 /src/webengine/render_widget_host_view_qt_delegate_quickwindow.cpp
parentc453b750ecb5311ae0a32d3d2cca9e2871fb9c50 (diff)
Introduce RenderWidgetHostViewQtDelegateQuick::windowGeometry()
Leave it up to hostview delegate to report window geometry. Change-Id: I19a4b911aa493fbc6f66c6169e7fbbb7bf674217 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/webengine/render_widget_host_view_qt_delegate_quickwindow.cpp')
-rw-r--r--src/webengine/render_widget_host_view_qt_delegate_quickwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webengine/render_widget_host_view_qt_delegate_quickwindow.cpp b/src/webengine/render_widget_host_view_qt_delegate_quickwindow.cpp
index 3c6c743e0..91ef84960 100644
--- a/src/webengine/render_widget_host_view_qt_delegate_quickwindow.cpp
+++ b/src/webengine/render_widget_host_view_qt_delegate_quickwindow.cpp
@@ -67,6 +67,11 @@ QRectF RenderWidgetHostViewQtDelegateQuickWindow::viewGeometry() const
return m_realDelegate->viewGeometry();
}
+QRect RenderWidgetHostViewQtDelegateQuickWindow::windowGeometry() const
+{
+ return frameGeometry();
+}
+
void RenderWidgetHostViewQtDelegateQuickWindow::show()
{
QQuickWindow::show();