Replace QLatin1String with operator _L1

This commit is contained in:
Jonas Kvinge
2024-09-07 04:24:14 +02:00
parent e3e6a22172
commit 4270b12cd1
185 changed files with 2429 additions and 2139 deletions

View File

@@ -39,6 +39,7 @@
#include "ext/gstmoodbar/gstfastspectrum.h"
using namespace Qt::StringLiterals;
using std::make_unique;
namespace {
@@ -73,7 +74,7 @@ GstElement *MoodbarPipeline::CreateElement(const QString &factory_name) {
QByteArray MoodbarPipeline::ToGstUrl(const QUrl &url) {
if (url.isLocalFile() && !url.host().isEmpty()) {
QString str = QLatin1String("file:////") + url.host() + url.path();
QString str = "file:////"_L1 + url.host() + url.path();
return str.toUtf8();
}