diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-04-05 13:10:43 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-04-05 13:14:06 +0530 |
| commit | 1d9cd2bcb69ccbccea67166f9d42ec8ff6892fae (patch) | |
| tree | 622d1bb48d35f05b17ef69db1b5919be89b86aab /src/WindowActionRouter.hpp | |
| parent | 2e051fcc4efcfe6af2d3ef22d6a4ba63c9f1c65d (diff) | |
| download | null-browser-1d9cd2bcb69ccbccea67166f9d42ec8ff6892fae.tar.gz null-browser-1d9cd2bcb69ccbccea67166f9d42ec8ff6892fae.zip | |
Connected url changed event
Diffstat (limited to '')
| -rw-r--r-- | src/WindowActionRouter.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<WebViewData> 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<std::string, std::vector<EventHandlerRequest>> events; + std::unordered_map<QString, std::vector<EventHandlerRequest>> events; }; |
