From 110911df2edc9589274f59fdf66b128e0220ad52 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 14 Jan 2023 20:01:17 +0100 Subject: [PATCH] Fixed an issue where collection changes were not applied correctly. --- es-app/src/FileData.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/es-app/src/FileData.h b/es-app/src/FileData.h index 30ccb4f4d..c21b03635 100644 --- a/es-app/src/FileData.h +++ b/es-app/src/FileData.h @@ -96,6 +96,8 @@ public: const bool getDeletionFlag() const { return mDeletionFlag; } void setDeletionFlag(bool setting) { mDeletionFlag = setting; } + const bool isPlaceHolder() const { return mType == PLACEHOLDER; } + void refreshMetadata() { metadata = mSourceFileData->metadata; } const std::vector& getChildrenListToDisplay(); std::vector getFilesRecursive(unsigned int typeMask, @@ -108,10 +110,6 @@ public: void addChild(FileData* file); // Error if mType != FOLDER void removeChild(FileData* file); // Error if mType != FOLDER - const bool isPlaceHolder() const { return mType == PLACEHOLDER; } - - virtual void refreshMetadata() { return; } - virtual std::string getKey() { return getFileName(); } const bool isArcadeAsset() const; const bool isArcadeGame() const;