From 1d9cd2bcb69ccbccea67166f9d42ec8ff6892fae Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 5 Apr 2025 13:10:43 +0530 Subject: Connected url changed event --- src/WindowActionRouter.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/WindowActionRouter.hpp') diff --git a/src/WindowActionRouter.hpp b/src/WindowActionRouter.hpp index 7e9f5d3..f7cb2b4 100644 --- a/src/WindowActionRouter.hpp +++ b/src/WindowActionRouter.hpp @@ -37,7 +37,7 @@ public: WebViewId fetch_current_tab_id(WindowId win_id = 0); QList fetch_webview_data_list(WindowId win_id = 0); - void dispatch_event(BrowserEvent &event); + void dispatch_event(BrowserEvent *event); void register_event(const EventHandlerRequest &event); protected: @@ -56,5 +56,5 @@ private: // TODO: Split event handling to its own class std::mutex events_mutex; - std::unordered_map> events; + std::unordered_map> events; }; -- cgit v1.3.1