Commit e43e988a authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer Committed by Boudewijn Rempt

Remove trailing comma and space in list of backers

The list of backers shown in the ‘About’ dialogue ended with
‘and xxx anonymous donors, .’. This fixes the trailing ‘, ’.
It also avoids a loop when adding the donor names.
parent ab5621f0
......@@ -103,11 +103,10 @@ KisAboutApplication::KisAboutApplication(QWidget *parent)
QFile fileBackers(":/backers.txt");
Q_FOREACH (const QByteArray &backer, fileBackers.readAll().split('\n')) {
backers.append(", ");
} | QIODevice::Text);
QTextStream backersText(&fileBackers);
backers.append(backersText.readAll().replace("\n", ", "));
backers.append(i18n(".</p><p><i>Thanks! You were all <b>awesome</b>!</i></p></body></html>"));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment