aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/WebViewStack.cpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-12 11:56:10 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-12 11:56:35 +0530
commitf3f109cd054888f857d51ca2b37b4123f3134069 (patch)
tree81250db8a30f85d34d3c101830a37e3535e77054 /src/widgets/WebViewStack.cpp
parentc0ee5203201d4ddf4ed560f856cb0da958935fc6 (diff)
downloadnull-browser-f3f109cd054888f857d51ca2b37b4123f3134069.tar.gz
null-browser-f3f109cd054888f857d51ca2b37b4123f3134069.zip
Add configuration api
Diffstat (limited to 'src/widgets/WebViewStack.cpp')
-rw-r--r--src/widgets/WebViewStack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/WebViewStack.cpp b/src/widgets/WebViewStack.cpp
index d43c9b5..f15ab64 100644
--- a/src/widgets/WebViewStack.cpp
+++ b/src/widgets/WebViewStack.cpp
@@ -204,7 +204,7 @@ QUrl WebViewStack::current_url() {
auto *webview = current_webview();
if (webview == nullptr) {
qDebug() << "No current webview";
- return configuration->new_view_url;
+ return QUrl{configuration->new_view_url};
}
return webview->url();