Proper use of QString::arg

This commit is contained in:
Luis Ángel San Martín
2021-09-30 22:08:03 +02:00
parent 3291300d51
commit 0a2f7bd2af
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ void HelpAboutDialog::loadAboutInformation(const QString &path)
buildNumber = BUILD_NUMBER;
#endif
aboutText->setHtml(fileToString(path).arg(VERSION).arg(buildNumber));
aboutText->setHtml(fileToString(path).arg(VERSION, buildNumber));
aboutText->moveCursor(QTextCursor::Start);
}