diff --git a/src/components/AnimatedImageComponent.cpp b/src/components/AnimatedImageComponent.cpp index aef223198..1ef4e3073 100644 --- a/src/components/AnimatedImageComponent.cpp +++ b/src/components/AnimatedImageComponent.cpp @@ -1,5 +1,4 @@ #include "AnimatedImageComponent.h" -#include "ImageComponent.h" #include "../Log.h" AnimatedImageComponent::AnimatedImageComponent(Window* window) : GuiComponent(window), mEnabled(false) diff --git a/src/components/AnimatedImageComponent.h b/src/components/AnimatedImageComponent.h index 5d6c988b3..53ffc2dd6 100644 --- a/src/components/AnimatedImageComponent.h +++ b/src/components/AnimatedImageComponent.h @@ -1,6 +1,5 @@ #include "../GuiComponent.h" - -class ImageComponent; +#include "ImageComponent.h" struct AnimationFrame { diff --git a/src/components/BusyComponent.cpp b/src/components/BusyComponent.cpp index 003aa51b8..3416530dc 100644 --- a/src/components/BusyComponent.cpp +++ b/src/components/BusyComponent.cpp @@ -54,5 +54,5 @@ void BusyComponent::onSizeChanged() void BusyComponent::reset() { - mAnimation->reset(); + //mAnimation->reset(); }