summaryrefslogtreecommitdiff
path: root/imgmanager.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-07-25 23:00:16 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-07-25 23:46:44 -0400
commitea9dd29721da8c8bef126462c2ee4fd1e53d7edc (patch)
tree7583336e2b756fd13955f6aacd9446b43d75e179 /imgmanager.cpp
parent96b8b19dd3b9187c66c5341b6ac8d41f6f8d6b32 (diff)
parent8321cd29d63d9d54891510b34a25f243cf278882 (diff)
downloadabaddon-portaudio-ea9dd29721da8c8bef126462c2ee4fd1e53d7edc.tar.gz
abaddon-portaudio-ea9dd29721da8c8bef126462c2ee4fd1e53d7edc.zip
Merge branch 'resources' (closes #29)
Diffstat (limited to 'imgmanager.cpp')
-rw-r--r--imgmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/imgmanager.cpp b/imgmanager.cpp
index 261b8d6..b97083c 100644
--- a/imgmanager.cpp
+++ b/imgmanager.cpp
@@ -1,5 +1,6 @@
#include "imgmanager.hpp"
#include "util.hpp"
+#include "abaddon.hpp"
ImageManager::ImageManager() {
m_cb_dispatcher.connect(sigc::mem_fun(*this, &ImageManager::RunCallbacks));
@@ -112,7 +113,7 @@ Glib::RefPtr<Gdk::Pixbuf> ImageManager::GetPlaceholder(int size) {
return m_pixs.at(name);
try {
- auto buf = Gdk::Pixbuf::create_from_file("res/decamarks.png", size, size);
+ auto buf = Gdk::Pixbuf::create_from_file(Abaddon::Get().GetResPath() + "/decamarks.png", size, size);
m_pixs[name] = buf;
return buf;
} catch (std::exception &e) {