diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-07-25 23:00:16 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-07-25 23:46:44 -0400 |
commit | ea9dd29721da8c8bef126462c2ee4fd1e53d7edc (patch) | |
tree | 7583336e2b756fd13955f6aacd9446b43d75e179 /windows/profilewindow.cpp | |
parent | 96b8b19dd3b9187c66c5341b6ac8d41f6f8d6b32 (diff) | |
parent | 8321cd29d63d9d54891510b34a25f243cf278882 (diff) | |
download | abaddon-portaudio-ea9dd29721da8c8bef126462c2ee4fd1e53d7edc.tar.gz abaddon-portaudio-ea9dd29721da8c8bef126462c2ee4fd1e53d7edc.zip |
Merge branch 'resources' (closes #29)
Diffstat (limited to 'windows/profilewindow.cpp')
-rw-r--r-- | windows/profilewindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/profilewindow.cpp b/windows/profilewindow.cpp index 90e98f1..f4bc3c9 100644 --- a/windows/profilewindow.cpp +++ b/windows/profilewindow.cpp @@ -111,9 +111,9 @@ void ProfileWindow::OnFetchProfile(const UserProfileData &data) { Glib::RefPtr<Gdk::Pixbuf> pixbuf; try { if (name == "verifiedbot") - pixbuf = Gdk::Pixbuf::create_from_file("./res/checkmark.png", 24, 24); + pixbuf = Gdk::Pixbuf::create_from_file(Abaddon::GetResPath("/checkmark.png"), 24, 24); else - pixbuf = Gdk::Pixbuf::create_from_file("./res/" + name + ".png", 24, 24); + pixbuf = Gdk::Pixbuf::create_from_file(Abaddon::GetResPath("/" + name + ".png"), 24, 24); } catch (const Glib::Exception &e) { pixbuf = Abaddon::Get().GetImageManager().GetPlaceholder(24); } |