From 4823393a8348674999657670076cf73a612cfb4a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 13 Jan 2017 17:49:52 +0100 Subject: Swapping profiles now works --- src/widgets/webviewtabbar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/widgets/webviewtabbar.h') diff --git a/src/widgets/webviewtabbar.h b/src/widgets/webviewtabbar.h index 28a9a18..f4fc6e4 100644 --- a/src/widgets/webviewtabbar.h +++ b/src/widgets/webviewtabbar.h @@ -12,7 +12,9 @@ public: WebViewTabBar(QWidget *parent = 0); ~WebViewTabBar(); - int addTab(QWebEngineView *view); + int addTab(QWebEngineProfile *profile, const QUrl &url); + void setProfile(QWebEngineProfile *profile); + QWebEngineView *currentView(); signals: -- cgit v1.2.1