Port to QStringLiteral operator

This commit is contained in:
Jonas Kvinge
2024-10-20 06:38:55 +02:00
parent 722035913e
commit ef9ef63f02
202 changed files with 2036 additions and 1889 deletions

View File

@@ -46,7 +46,7 @@ SongList PLSParser::Load(QIODevice *device, const QString &playlist_path, const
Q_UNUSED(playlist_path);
QMap<int, Song> songs;
static const QRegularExpression n_re(QStringLiteral("\\d+$"));
static const QRegularExpression n_re(u"\\d+$"_s);
while (!device->atEnd()) {
QString line = QString::fromUtf8(device->readLine()).trimmed();