mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-18 04:45:39 +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;
|
std::string defaultImage;
|
||||||
|
|
||||||
if (mCarousel != nullptr) {
|
if (mCarousel != nullptr) {
|
||||||
defaultImage = mCarousel->getDefaultImage();
|
defaultImage = mCarousel->getDefaultCarouselImage();
|
||||||
if (!ResourceManager::getInstance().fileExists(defaultImage))
|
if (!ResourceManager::getInstance().fileExists(defaultImage))
|
||||||
defaultImage = "";
|
defaultImage = "";
|
||||||
}
|
}
|
||||||
else if (mGrid != nullptr) {
|
else if (mGrid != nullptr) {
|
||||||
defaultImage = mGrid->getDefaultImage();
|
defaultImage = mGrid->getDefaultGridImage();
|
||||||
if (!ResourceManager::getInstance().fileExists(defaultImage))
|
if (!ResourceManager::getInstance().fileExists(defaultImage))
|
||||||
defaultImage = "";
|
defaultImage = "";
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,7 @@ public:
|
||||||
Entry& getEntry(int index) { return mEntries.at(index); }
|
Entry& getEntry(int index) { return mEntries.at(index); }
|
||||||
void onDemandTextureLoad() override;
|
void onDemandTextureLoad() override;
|
||||||
const CarouselType getType() { return mType; }
|
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; }
|
void setDefaultImage(std::string defaultImage) { mDefaultImage = defaultImage; }
|
||||||
bool isScrolling() const override { return List::isScrolling(); }
|
bool isScrolling() const override { return List::isScrolling(); }
|
||||||
const LetterCase getLetterCase() const override { return mLetterCase; }
|
const LetterCase getLetterCase() const override { return mLetterCase; }
|
||||||
|
|
|
@ -63,7 +63,7 @@ public:
|
||||||
{
|
{
|
||||||
return mLetterCaseGroupedCollections;
|
return mLetterCaseGroupedCollections;
|
||||||
}
|
}
|
||||||
const std::string& getDefaultImage() { return mDefaultImage; }
|
const std::string& getDefaultGridImage() const { return mDefaultImage; }
|
||||||
void setDefaultImage(std::string defaultImage) { mDefaultImage = defaultImage; }
|
void setDefaultImage(std::string defaultImage) { mDefaultImage = defaultImage; }
|
||||||
bool input(InputConfig* config, Input input) override;
|
bool input(InputConfig* config, Input input) override;
|
||||||
void update(int deltaTime) override;
|
void update(int deltaTime) override;
|
||||||
|
|
Loading…
Reference in a new issue