mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 16:15:39 +00:00
Fix thumbnail and image to be separated as I think it was originally meant to be.
This commit is contained in:
parent
e569ed7b88
commit
1228e0c7bf
|
@ -565,6 +565,7 @@ void CollectionSystemManager::updateCollectionFolderMetadata(SystemData* sys)
|
||||||
std::string genre = "None";
|
std::string genre = "None";
|
||||||
std::string video = "";
|
std::string video = "";
|
||||||
std::string thumbnail = "";
|
std::string thumbnail = "";
|
||||||
|
std::string image = "";
|
||||||
|
|
||||||
std::unordered_map<std::string, FileData*> games = rootFolder->getChildrenByFilename();
|
std::unordered_map<std::string, FileData*> games = rootFolder->getChildrenByFilename();
|
||||||
|
|
||||||
|
@ -608,6 +609,7 @@ void CollectionSystemManager::updateCollectionFolderMetadata(SystemData* sys)
|
||||||
|
|
||||||
video = randomGame->getVideoPath();
|
video = randomGame->getVideoPath();
|
||||||
thumbnail = randomGame->getThumbnailPath();
|
thumbnail = randomGame->getThumbnailPath();
|
||||||
|
image = randomGame->getImagePath();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -618,7 +620,8 @@ void CollectionSystemManager::updateCollectionFolderMetadata(SystemData* sys)
|
||||||
rootFolder->metadata.set("releasedate", releasedate);
|
rootFolder->metadata.set("releasedate", releasedate);
|
||||||
rootFolder->metadata.set("developer", developer);
|
rootFolder->metadata.set("developer", developer);
|
||||||
rootFolder->metadata.set("video", video);
|
rootFolder->metadata.set("video", video);
|
||||||
rootFolder->metadata.set("image", thumbnail);
|
rootFolder->metadata.set("thumbnail", thumbnail);
|
||||||
|
rootFolder->metadata.set("image", image);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CollectionSystemManager::initCustomCollectionSystems()
|
void CollectionSystemManager::initCustomCollectionSystems()
|
||||||
|
|
|
@ -245,7 +245,7 @@ void VideoGameListView::updateInfoPanel()
|
||||||
|
|
||||||
mVideo->setImage(file->getThumbnailPath());
|
mVideo->setImage(file->getThumbnailPath());
|
||||||
mMarquee.setImage(file->getMarqueePath());
|
mMarquee.setImage(file->getMarqueePath());
|
||||||
mImage.setImage(file->getThumbnailPath());
|
mImage.setImage(file->getImagePath());
|
||||||
|
|
||||||
mDescription.setText(file->metadata.get("desc"));
|
mDescription.setText(file->metadata.get("desc"));
|
||||||
mDescContainer.reset();
|
mDescContainer.reset();
|
||||||
|
|
Loading…
Reference in a new issue