Replace QStringLiteral with QLatin1String
This commit is contained in:
@@ -205,7 +205,7 @@ void EngineBase::ReloadSettings() {
|
||||
if (http2_enabled != http2_enabled_) {
|
||||
http2_enabled_ = http2_enabled;
|
||||
Utilities::SetEnv("SOUP_FORCE_HTTP1", http2_enabled_ ? QLatin1String("") : QStringLiteral("1"));
|
||||
qLog(Debug) << "SOUP_FORCE_HTTP1:" << (http2_enabled_ ? QLatin1String("OFF") : QLatin1String("ON"));
|
||||
qLog(Debug) << "SOUP_FORCE_HTTP1:" << (http2_enabled_ ? "OFF" : "ON");
|
||||
}
|
||||
|
||||
strict_ssl_enabled_ = s.value("strict_ssl", false).toBool();
|
||||
|
||||
@@ -739,7 +739,7 @@ QByteArray GstEngine::FixupUrl(const QUrl &url) {
|
||||
// We keep the device in mind, and we will set it later using SourceSetupCallback
|
||||
QStringList path = url.path().split(QLatin1Char('/'));
|
||||
str = QStringLiteral("cdda://%1").arg(path.takeLast());
|
||||
QString device = path.join(QStringLiteral("/"));
|
||||
QString device = path.join(QLatin1Char('/'));
|
||||
if (current_pipeline_) current_pipeline_->SetSourceDevice(device);
|
||||
}
|
||||
uri = str.toUtf8();
|
||||
|
||||
Reference in New Issue
Block a user