mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 03:24:49 +00:00
Cheats dont show other authors (#2558)
This commit is contained in:
parent
5e5ca2138e
commit
bf995d659b
1 changed files with 5 additions and 1 deletions
|
@ -1082,7 +1082,11 @@ void CheatsPatches::addCheatsToLayout(const QJsonArray& modsArray, const QJsonAr
|
|||
QLabel* creditsLabel = new QLabel();
|
||||
QString creditsText = tr("Author: ");
|
||||
if (!creditsArray.isEmpty()) {
|
||||
creditsText += creditsArray[0].toString();
|
||||
QStringList authors;
|
||||
for (const QJsonValue& credit : creditsArray) {
|
||||
authors << credit.toString();
|
||||
}
|
||||
creditsText += authors.join(", ");
|
||||
}
|
||||
creditsLabel->setText(creditsText);
|
||||
creditsLabel->setAlignment(Qt::AlignLeft);
|
||||
|
|
Loading…
Add table
Reference in a new issue