mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Renamed an incorrectly named static variable in ImageComponent.
This commit is contained in:
parent
41d601b88a
commit
17597ab144
|
@ -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 \""
|
||||
|
|
|
@ -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"};
|
||||
|
||||
|
|
Loading…
Reference in a new issue