Renamed an incorrectly named static variable in ImageComponent.

This commit is contained in:
Leon Styhre 2022-12-17 22:15:19 +01:00
parent 41d601b88a
commit 17597ab144
2 changed files with 3 additions and 3 deletions

View file

@ -564,8 +564,8 @@ void ImageComponent::applyTheme(const std::shared_ptr<ThemeData>& 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 \""

View file

@ -144,7 +144,7 @@ private:
std::string mDefaultPath;
static inline std::vector<std::string> supportedImageTypes {
static inline std::vector<std::string> sSupportedImageTypes {
"image", "miximage", "marquee", "screenshot", "titlescreen",
"cover", "backcover", "3dbox", "physicalmedia", "fanart"};