From 4f945367ebc8e34263acbfca0416e3f75653924e Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 30 Mar 2025 19:16:07 +0530 Subject: Update window title on tab change + refactoring --- src/widgets/WebViewStack.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/widgets/WebViewStack.hpp') diff --git a/src/widgets/WebViewStack.hpp b/src/widgets/WebViewStack.hpp index 40c2184..0f0d923 100644 --- a/src/widgets/WebViewStack.hpp +++ b/src/widgets/WebViewStack.hpp @@ -45,6 +45,9 @@ public: /// @deprecated TODO: Remove uint32_t current_webview_index(); +signals: + void current_webview_changed(int index); + protected: void set_current_url(const QUrl &url); WebView *create_new_webview(const QUrl &url, bool focus = false); -- cgit v1.3.1