mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
Cheats dont show other authors
This commit is contained in:
parent
63b50ff92c
commit
5713064401
@ -1082,7 +1082,11 @@ void CheatsPatches::addCheatsToLayout(const QJsonArray& modsArray, const QJsonAr
|
|||||||
QLabel* creditsLabel = new QLabel();
|
QLabel* creditsLabel = new QLabel();
|
||||||
QString creditsText = tr("Author: ");
|
QString creditsText = tr("Author: ");
|
||||||
if (!creditsArray.isEmpty()) {
|
if (!creditsArray.isEmpty()) {
|
||||||
creditsText += creditsArray[0].toString();
|
QStringList authors;
|
||||||
|
for (const QJsonValue& credit : creditsArray) {
|
||||||
|
authors << credit.toString();
|
||||||
|
}
|
||||||
|
creditsText += authors.join(", ");
|
||||||
}
|
}
|
||||||
creditsLabel->setText(creditsText);
|
creditsLabel->setText(creditsText);
|
||||||
creditsLabel->setAlignment(Qt::AlignLeft);
|
creditsLabel->setAlignment(Qt::AlignLeft);
|
||||||
|
Loading…
Reference in New Issue
Block a user