aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/WebViewStack.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-12 19:35:54 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-12 21:04:16 +0530
commitbbe50215cbb9078ba457f93a5e90096e844c611a (patch)
tree0726730396510a2ea8cd18cee72afb5c7c1edc41 /src/widgets/WebViewStack.hpp
parentc8352009ceb6b9240ef7c1ad5be93f42312b59a2 (diff)
downloadnull-browser-bbe50215cbb9078ba457f93a5e90096e844c611a.tar.gz
null-browser-bbe50215cbb9078ba457f93a5e90096e844c611a.zip
Add user agent configuration
Diffstat (limited to '')
-rw-r--r--src/widgets/WebViewStack.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/WebViewStack.hpp b/src/widgets/WebViewStack.hpp
index b36c389..8f66c09 100644
--- a/src/widgets/WebViewStack.hpp
+++ b/src/widgets/WebViewStack.hpp
@@ -3,6 +3,7 @@
#include <QStackedLayout>
#include <QWebEngineProfile>
#include <cstdint>
+#include <qwebengineprofile.h>
#include <vector>
#include "Configuration.hpp"
@@ -39,6 +40,8 @@ public:
bool has_webview(WebViewId webview_id);
+ QWebEngineProfile *get_profile() { return profile; }
+
/// @deprecated TODO: Remove
std::vector<QUrl> urls();
/// @deprecated TODO: Remove