Replace QLatin1String with QStringLiteral

This commit is contained in:
Jonas Kvinge
2024-08-25 01:08:25 +02:00
parent 8da616491d
commit 3f3059c98b
4 changed files with 23 additions and 23 deletions

View File

@@ -662,7 +662,7 @@ QUrl AlbumCoverChoiceController::SaveCoverToFileAutomatic(const Song::Source sou
const AlbumCoverImageResult &result,
const bool force_overwrite) {
QString filepath = CoverUtils::CoverFilePath(cover_options_, source, artist, album, album_id, album_dir, result.cover_url, QLatin1String("jpg"));
QString filepath = CoverUtils::CoverFilePath(cover_options_, source, artist, album, album_id, album_dir, result.cover_url, QStringLiteral("jpg"));
if (filepath.isEmpty()) return QUrl();
QFile file(filepath);