Replace QLatin1String with QStringLiteral

This commit is contained in:
Jonas Kvinge
2024-06-12 23:51:09 +02:00
parent 7ba4fda346
commit 2f546f214d
3 changed files with 3 additions and 3 deletions

View File

@@ -283,7 +283,7 @@ void DiscogsCoverProvider::HandleSearchReply(QNetworkReply *reply, const int id)
QString title = obj_result[QLatin1String("title")].toString();
if (title.contains(QLatin1String(" - "))) {
QStringList title_splitted = title.split(QLatin1String(" - "));
QStringList title_splitted = title.split(QStringLiteral(" - "));
if (title_splitted.count() == 2) {
QString artist = title_splitted.first();
title = title_splitted.last();