Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 06701b01 authored by Wolfgang Bauer's avatar Wolfgang Bauer

[multisegmentkio] Don't duplicate slash

Removing the filename from an Url always results in an Url with a
trailing slash. So it makes no sense to append another one.
parent b9aafea0
......@@ -177,7 +177,7 @@ void TransferMultiSegKio::slotDataSourceFactoryChange(Transfer::ChangesFlags cha
return;
}
QUrl path = m_dest.adjusted(QUrl::RemoveFilename);
path.setPath(path.path() + "/" + filename);
path.setPath(path.path() + filename);
setNewDestination(path);
}
if (change & Tc_Source) {
......
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