diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2024-02-28 09:57:49 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2024-02-29 14:40:01 -0300 |
commit | b7aa717cdd3f6af266c244fec6d775e917cf8d0c (patch) | |
tree | 8e8b7e4bcc68946fa5a5d3abb60441085bc59db3 /src/qt/clientmodel.h | |
parent | f3a612f9016fe1f59c73d6059274bea8025b8940 (diff) |
refactor: gui, simplify boost signals disconnection
Preventing dangling signals.
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r-- | src/qt/clientmodel.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index 68fb2e6322..624056b5df 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -97,13 +97,7 @@ public: private: interfaces::Node& m_node; - std::unique_ptr<interfaces::Handler> m_handler_show_progress; - std::unique_ptr<interfaces::Handler> m_handler_notify_num_connections_changed; - std::unique_ptr<interfaces::Handler> m_handler_notify_network_active_changed; - std::unique_ptr<interfaces::Handler> m_handler_notify_alert_changed; - std::unique_ptr<interfaces::Handler> m_handler_banned_list_changed; - std::unique_ptr<interfaces::Handler> m_handler_notify_block_tip; - std::unique_ptr<interfaces::Handler> m_handler_notify_header_tip; + std::vector<std::unique_ptr<interfaces::Handler>> m_event_handlers; OptionsModel *optionsModel; PeerTableModel* peerTableModel{nullptr}; PeerTableSortProxy* m_peer_table_sort_proxy{nullptr}; |