ScrobblingAPI20: Replace QLatin1String with QStringLiteral

This commit is contained in:
Jonas Kvinge 2024-06-12 20:59:09 +02:00
parent 98d3cc2637
commit 79c2130152
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ void ScrobblingAPI20::Authenticate() {
if (openurl_result) { if (openurl_result) {
break; break;
} }
QMessageBox messagebox_error(QMessageBox::Warning, tr("%1 Scrobbler Authentication").arg(name_), tr("Could not open URL. Please open this URL in your browser") + QLatin1String(":<br /><a href=\"%1\">%1</a>").arg(url.toString()), QMessageBox::Ok); QMessageBox messagebox_error(QMessageBox::Warning, tr("%1 Scrobbler Authentication").arg(name_), tr("Could not open URL. Please open this URL in your browser") + QStringLiteral(":<br /><a href=\"%1\">%1</a>").arg(url.toString()), QMessageBox::Ok);
messagebox_error.setTextFormat(Qt::RichText); messagebox_error.setTextFormat(Qt::RichText);
messagebox_error.exec(); messagebox_error.exec();
} }