Commit 5e16b5ab authored by Patrick Northon's avatar Patrick Northon Committed by Nate Graham
Browse files

[mediaframe] Make files added from paths into URLs.

This make it consistent with individual files added and fix a problem where the url isn't converted to a path properly in some conditions when the url doesn't contain the schema (file://).

BUG: 445071


(cherry picked from commit 181cc49c)
parent d6e6fa53
......@@ -125,7 +125,7 @@ void MediaFrame::add(const QString &path, AddOption option)
while (dirIterator.hasNext()) {
dirIterator.next();
filePath = dirIterator.filePath();
filePath = "file://" + dirIterator.filePath();
paths.append(filePath);
m_allFiles.append(filePath);
// qDebug() << "Appended" << filePath;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment