diff --git a/es-core/src/components/ImageComponent.cpp b/es-core/src/components/ImageComponent.cpp index 9fec9d6e2..e96954def 100644 --- a/es-core/src/components/ImageComponent.cpp +++ b/es-core/src/components/ImageComponent.cpp @@ -564,8 +564,8 @@ void ImageComponent::applyTheme(const std::shared_ptr& theme, } for (std::string& type : mThemeImageTypes) { - if (std::find(supportedImageTypes.cbegin(), supportedImageTypes.cend(), type) == - supportedImageTypes.cend()) { + if (std::find(sSupportedImageTypes.cbegin(), sSupportedImageTypes.cend(), type) == + sSupportedImageTypes.cend()) { LOG(LogError) << "ImageComponent: Invalid theme configuration, property \"imageType\" " "for element \"" diff --git a/es-core/src/components/ImageComponent.h b/es-core/src/components/ImageComponent.h index 4813724d4..d14f22eb4 100644 --- a/es-core/src/components/ImageComponent.h +++ b/es-core/src/components/ImageComponent.h @@ -144,7 +144,7 @@ private: std::string mDefaultPath; - static inline std::vector supportedImageTypes { + static inline std::vector sSupportedImageTypes { "image", "miximage", "marquee", "screenshot", "titlescreen", "cover", "backcover", "3dbox", "physicalmedia", "fanart"};