diff options
Diffstat (limited to 'src/components/channels.hpp')
-rw-r--r-- | src/components/channels.hpp | 4 |
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; |