From e68f8ef8f45987ab0caa5a05d53980a3556547f3 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 12 Sep 2020 03:17:34 -0400 Subject: make avatar loading a bit better --- abaddon.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'abaddon.hpp') diff --git a/abaddon.hpp b/abaddon.hpp index a52e759..9b4bf81 100644 --- a/abaddon.hpp +++ b/abaddon.hpp @@ -6,7 +6,7 @@ #include "discord/discord.hpp" #include "windows/mainwindow.hpp" #include "settings.hpp" -#include "filecache.hpp" +#include "imgmanager.hpp" #define APP_TITLE "Abaddon" @@ -43,7 +43,7 @@ public: void ActionReloadCSS(); - Cache &GetCache(); + ImageManager &GetImageManager(); std::string GetDiscordToken() const; bool IsDiscordActive() const; @@ -65,7 +65,7 @@ private: std::unordered_map m_oldest_listed_message; std::unordered_set m_channels_history_loading; - Cache m_cache; + ImageManager m_img_mgr; mutable std::mutex m_mutex; Glib::RefPtr m_gtk_app; -- cgit v1.2.3