mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 01:25:38 +00:00
Fixed some Clang compiler warnings.
This commit is contained in:
parent
0856fd9244
commit
6c75d0fc88
|
@ -580,12 +580,12 @@ void GamelistBase::populateList(const std::vector<FileData*>& files, FileData* f
|
|||
std::string defaultImage;
|
||||
|
||||
if (mCarousel != nullptr) {
|
||||
defaultImage = mCarousel->getDefaultImage();
|
||||
defaultImage = mCarousel->getDefaultCarouselImage();
|
||||
if (!ResourceManager::getInstance().fileExists(defaultImage))
|
||||
defaultImage = "";
|
||||
}
|
||||
else if (mGrid != nullptr) {
|
||||
defaultImage = mGrid->getDefaultImage();
|
||||
defaultImage = mGrid->getDefaultGridImage();
|
||||
if (!ResourceManager::getInstance().fileExists(defaultImage))
|
||||
defaultImage = "";
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@ public:
|
|||
Entry& getEntry(int index) { return mEntries.at(index); }
|
||||
void onDemandTextureLoad() override;
|
||||
const CarouselType getType() { return mType; }
|
||||
const std::string& getDefaultImage() { return mDefaultImage; }
|
||||
const std::string& getDefaultCarouselImage() const { return mDefaultImage; }
|
||||
void setDefaultImage(std::string defaultImage) { mDefaultImage = defaultImage; }
|
||||
bool isScrolling() const override { return List::isScrolling(); }
|
||||
const LetterCase getLetterCase() const override { return mLetterCase; }
|
||||
|
|
|
@ -63,7 +63,7 @@ public:
|
|||
{
|
||||
return mLetterCaseGroupedCollections;
|
||||
}
|
||||
const std::string& getDefaultImage() { return mDefaultImage; }
|
||||
const std::string& getDefaultGridImage() const { return mDefaultImage; }
|
||||
void setDefaultImage(std::string defaultImage) { mDefaultImage = defaultImage; }
|
||||
bool input(InputConfig* config, Input input) override;
|
||||
void update(int deltaTime) override;
|
||||
|
|
Loading…
Reference in a new issue