summaryrefslogtreecommitdiffstats
path: root/src/webview/qwebview_android.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/qwebview_android.cpp')
-rw-r--r--src/webview/qwebview_android.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webview/qwebview_android.cpp b/src/webview/qwebview_android.cpp
index 505b827..fb880ee 100644
--- a/src/webview/qwebview_android.cpp
+++ b/src/webview/qwebview_android.cpp
@@ -212,6 +212,11 @@ void QAndroidWebViewPrivate::setParentView(QObject *view)
m_window->setParent(qobject_cast<QWindow *>(view));
}
+QObject *QAndroidWebViewPrivate::parentView() const
+{
+ return m_window->parent();
+}
+
void QAndroidWebViewPrivate::stop()
{
m_viewController.callMethod<void>("stopLoading");