From 4326c5e29b279ba8ca58139848aaea4e3c62fb03 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 24 Nov 2021 03:14:41 -0500 Subject: remove SimpleIni as a dependency use Glib::KeyFile instead which is basically the same file format also read into and save from struct once, cuz its faster and less redundant --- src/windows/profile/mutualfriendspane.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/windows/profile/mutualfriendspane.cpp') diff --git a/src/windows/profile/mutualfriendspane.cpp b/src/windows/profile/mutualfriendspane.cpp index 339fd71..ca36e1d 100644 --- a/src/windows/profile/mutualfriendspane.cpp +++ b/src/windows/profile/mutualfriendspane.cpp @@ -9,10 +9,9 @@ MutualFriendItem::MutualFriendItem(const UserData &user) m_avatar.set_margin_end(10); - const auto show_animations = Abaddon::Get().GetSettings().GetShowAnimations(); auto &img = Abaddon::Get().GetImageManager(); m_avatar.property_pixbuf() = img.GetPlaceholder(24); - if (user.HasAnimatedAvatar() && show_animations) { + if (user.HasAnimatedAvatar() && Abaddon::Get().GetSettings().ShowAnimations) { auto cb = [this](const Glib::RefPtr &pb) { m_avatar.property_pixbuf_animation() = pb; }; -- cgit v1.2.3