trophy icon + platinum fixes (#1093)

* trophy icon + platinum fixes

cleaned up some parts too

* format

* implement turtles review

* use fs native where possible, clang format

* implement vinicius suggestions

* format

* final reviews

* mutex for trophy queue, remove unneeded field

* format
This commit is contained in:
CrazyBloo 2024-10-01 16:39:43 -04:00 committed by GitHub
parent f93b8c1e8d
commit 65f72372f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 356 additions and 419 deletions

View file

@ -76,7 +76,7 @@ void TrophyViewer::PopulateTrophyWidget(QString title) {
trpType.append(reader.attributes().value("ttype").toString());
trpPid.append(reader.attributes().value("pid").toString());
if (reader.attributes().hasAttribute("unlockstate")) {
if (reader.attributes().value("unlockstate").toString() == "unlocked") {
if (reader.attributes().value("unlockstate").toString() == "true") {
trpUnlocked.append("unlocked");
} else {
trpUnlocked.append("locked");