mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Renamed an incorrectly named static variable in ImageComponent.
This commit is contained in:
parent
41d601b88a
commit
17597ab144
es-core/src/components
|
@ -564,8 +564,8 @@ void ImageComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
||||||
}
|
}
|
||||||
|
|
||||||
for (std::string& type : mThemeImageTypes) {
|
for (std::string& type : mThemeImageTypes) {
|
||||||
if (std::find(supportedImageTypes.cbegin(), supportedImageTypes.cend(), type) ==
|
if (std::find(sSupportedImageTypes.cbegin(), sSupportedImageTypes.cend(), type) ==
|
||||||
supportedImageTypes.cend()) {
|
sSupportedImageTypes.cend()) {
|
||||||
LOG(LogError)
|
LOG(LogError)
|
||||||
<< "ImageComponent: Invalid theme configuration, property \"imageType\" "
|
<< "ImageComponent: Invalid theme configuration, property \"imageType\" "
|
||||||
"for element \""
|
"for element \""
|
||||||
|
|
|
@ -144,7 +144,7 @@ private:
|
||||||
|
|
||||||
std::string mDefaultPath;
|
std::string mDefaultPath;
|
||||||
|
|
||||||
static inline std::vector<std::string> supportedImageTypes {
|
static inline std::vector<std::string> sSupportedImageTypes {
|
||||||
"image", "miximage", "marquee", "screenshot", "titlescreen",
|
"image", "miximage", "marquee", "screenshot", "titlescreen",
|
||||||
"cover", "backcover", "3dbox", "physicalmedia", "fanart"};
|
"cover", "backcover", "3dbox", "physicalmedia", "fanart"};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue