ScrobblingAPI20: Replace QLatin1String with QStringLiteral
This commit is contained in:
parent
98d3cc2637
commit
79c2130152
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue