mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Added system view support for the 'rating' text metadata type.
This commit is contained in:
parent
2e3ac5bf0e
commit
76384d1d34
|
@ -1002,6 +1002,9 @@ void SystemView::updateGameSelectors()
|
|||
text->setValue(games.front()->metadata.get("name"));
|
||||
if (metadata == "description")
|
||||
text->setValue(games.front()->metadata.get("desc"));
|
||||
if (metadata == "rating")
|
||||
text->setValue(
|
||||
RatingComponent::getRatingValue(games.front()->metadata.get("rating")));
|
||||
if (metadata == "developer")
|
||||
text->setValue(games.front()->metadata.get("developer"));
|
||||
if (metadata == "publisher")
|
||||
|
|
Loading…
Reference in a new issue