Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 5c3ea7c4 authored by Michael Reeves's avatar Michael Reeves

Fix manual url building in FileAccess::setFromUdsEntry

parent fcd6df78
......@@ -282,7 +282,11 @@ void FileAccess::setFromUdsEntry(const KIO::UDSEntry& e, FileAccess *parent)
m_fileInfo = QFileInfo(filePath);
m_url = QUrl::fromUserInput(filePath);
m_url = parent->url().resolved(QUrl(filePath));
//Verify that the scheme doesn't change.
Q_ASSERT(m_url.scheme() == parent->url().scheme());
m_name = m_fileInfo.fileName();
if(isLocal() && m_name.isEmpty())
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