summaryrefslogtreecommitdiff
path: root/src/components/channels.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-01-02 00:07:32 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2022-01-02 00:07:32 -0500
commit8695562cb4b34c70d4d6b607042988de7b6e244d (patch)
treeb183df06498b6894d3f37964b1c97f5b24d8ade8 /src/components/channels.hpp
parentd7bb6049e130dcd3a36e1a07fb39d24468c4889b (diff)
parent5338eab3a5f9a15fbc5dd049bf45fe16d983a8cb (diff)
downloadabaddon-portaudio-8695562cb4b34c70d4d6b607042988de7b6e244d.tar.gz
abaddon-portaudio-8695562cb4b34c70d4d6b607042988de7b6e244d.zip
Merge branch 'master' into unread
Diffstat (limited to 'src/components/channels.hpp')
-rw-r--r--src/components/channels.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/channels.hpp b/src/components/channels.hpp
index 40e8358..6970729 100644
--- a/src/components/channels.hpp
+++ b/src/components/channels.hpp
@@ -138,6 +138,10 @@ protected:
Snowflake m_active_channel;
+ // (GetIteratorForChannelFromID is rather slow)
+ // only temporary since i dont want to worry about maintaining this map
+ std::unordered_map<Snowflake, Gtk::TreeModel::iterator> m_tmp_channel_map;
+
public:
typedef sigc::signal<void, Snowflake> type_signal_action_channel_item_select;
typedef sigc::signal<void, Snowflake> type_signal_action_guild_leave;