diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-04-05 23:45:55 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-04-06 00:47:02 +0530 |
| commit | bbde1438e9c31cc83d8c4835ea97a0eaeae4e192 (patch) | |
| tree | 88840b73176dee8bd7da70c36f19a32bafdd5d6c /src/WindowActionRouter.hpp | |
| parent | b77a6444f94ce8d05962af9039c31851e224be5c (diff) | |
| download | null-browser-bbde1438e9c31cc83d8c4835ea97a0eaeae4e192.tar.gz null-browser-bbde1438e9c31cc83d8c4835ea97a0eaeae4e192.zip | |
Close window when no tabs left
Diffstat (limited to '')
| -rw-r--r-- | src/WindowActionRouter.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/WindowActionRouter.hpp b/src/WindowActionRouter.hpp index c72aaaf..3c82b28 100644 --- a/src/WindowActionRouter.hpp +++ b/src/WindowActionRouter.hpp @@ -4,6 +4,7 @@ #include <QtCore> #include <cstdint> #include <functional> +#include <mutex> #include "EventQueue.hpp" #include "widgets/BrowserWindow.hpp" @@ -46,6 +47,7 @@ signals: void new_window_requested(const QUrl &url); private: + std::mutex window_map_mutex; WindowMap window_map; uint64_t last_id = 1; Configuration *configuration; |
