summaryrefslogtreecommitdiffstats
path: root/src/plugins/wasm/qwasmwebview.cpp
diff options
context:
space:
mode:
authorKaloyan Chehlarski <kaloyan.chehlarski@qt.io>2025-10-24 14:18:50 +0200
committerKaloyan Chehlarski <kaloyan.chehlarski@qt.io>2025-10-27 13:47:58 +0100
commit501c7464d7771fbc15db4d326d65fda367695a3e (patch)
tree31577e0ebe089b7ad9ce1955ef7a5ce6483b8762 /src/plugins/wasm/qwasmwebview.cpp
parent92f2b9fd1659e13ef463f4c5689e1e919373932c (diff)
Add url() virtual method to private classes
Task-number: QTBUG-131837 Change-Id: I28c33c9c688c4218a350524b254ca893a6dfd950 Reviewed-by: Moss Heim <moss.heim@qt.io>
Diffstat (limited to 'src/plugins/wasm/qwasmwebview.cpp')
-rw-r--r--src/plugins/wasm/qwasmwebview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/wasm/qwasmwebview.cpp b/src/plugins/wasm/qwasmwebview.cpp
index fca0ff6..8b6292d 100644
--- a/src/plugins/wasm/qwasmwebview.cpp
+++ b/src/plugins/wasm/qwasmwebview.cpp
@@ -106,6 +106,11 @@ void QWasmWebViewPrivate::setHttpUserAgent(const QString &userAgent)
qWarning("setHttpUserAgent() not supported on this platform");
}
+QUrl QWasmWebViewPrivate::url() const
+{
+ return m_currentUrl;
+}
+
void QWasmWebViewPrivate::setUrl(const QUrl &url)
{
m_currentUrl = url;