aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2024-02-28 09:57:49 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2024-02-29 14:40:01 -0300
commitb7aa717cdd3f6af266c244fec6d775e917cf8d0c (patch)
tree8e8b7e4bcc68946fa5a5d3abb60441085bc59db3 /src/qt/clientmodel.h
parentf3a612f9016fe1f59c73d6059274bea8025b8940 (diff)
refactor: gui, simplify boost signals disconnection
Preventing dangling signals.
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r--src/qt/clientmodel.h8
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};