summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-21 16:34:39 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-21 16:34:39 +0200
commit392dbed3af5d9bfd1e71244426697915321df89c (patch)
tree1611b4bc0d397db28cb6fbe210e6e6fb6625aaa6 /plugin
parent8590e27c3cefde9519fad59b14ef71cdd033e56f (diff)
Fix crash of the plugin due to wrong resource path.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/drumgizmo_plugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h
index db94e6c..7734051 100644
--- a/plugin/drumgizmo_plugin.h
+++ b/plugin/drumgizmo_plugin.h
@@ -179,22 +179,22 @@ private:
SettingsGetter settingsGetter{settings};
GUI::ImageCache imageCache;
- GUI::TexturedBox box{imageCache, ":progress.png",
+ GUI::TexturedBox box{imageCache, ":resources/progress.png",
0, 0, // atlas offset (x, y)
6, 1, 6, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
- GUI::TexturedBox bar_red{imageCache, ":progress.png",
+ GUI::TexturedBox bar_red{imageCache, ":resources/progress.png",
13, 0, // atlas offset (x, y)
2, 1, 2, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
- GUI::TexturedBox bar_green{imageCache, ":progress.png",
+ GUI::TexturedBox bar_green{imageCache, ":resources/progress.png",
18, 0, // atlas offset (x, y)
2, 1, 2, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
- GUI::TexturedBox bar_blue{imageCache, ":progress.png",
+ GUI::TexturedBox bar_blue{imageCache, ":resources/progress.png",
23, 0, // atlas offset (x, y)
2, 1, 2, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3