mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15: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"));
|
text->setValue(games.front()->metadata.get("name"));
|
||||||
if (metadata == "description")
|
if (metadata == "description")
|
||||||
text->setValue(games.front()->metadata.get("desc"));
|
text->setValue(games.front()->metadata.get("desc"));
|
||||||
|
if (metadata == "rating")
|
||||||
|
text->setValue(
|
||||||
|
RatingComponent::getRatingValue(games.front()->metadata.get("rating")));
|
||||||
if (metadata == "developer")
|
if (metadata == "developer")
|
||||||
text->setValue(games.front()->metadata.get("developer"));
|
text->setValue(games.front()->metadata.get("developer"));
|
||||||
if (metadata == "publisher")
|
if (metadata == "publisher")
|
||||||
|
|
Loading…
Reference in a new issue