Disable automatic conversions from 8-bit strings
This commit is contained in:
@@ -71,7 +71,7 @@ GstElement *MoodbarPipeline::CreateElement(const QString &factory_name) {
|
||||
QByteArray MoodbarPipeline::ToGstUrl(const QUrl &url) {
|
||||
|
||||
if (url.isLocalFile() && !url.host().isEmpty()) {
|
||||
QString str = "file:////" + url.host() + url.path();
|
||||
QString str = QStringLiteral("file:////") + url.host() + url.path();
|
||||
return str.toUtf8();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user