Commit 97bb7337 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We need to use return value here

parent 17dcb359
......@@ -1095,7 +1095,7 @@ QUrl KGet::getValidDestUrl(const QUrl& destDir, const QUrl &srcUrl)
QString filename = srcUrl.fileName();
if (filename.isEmpty())
filename = QUrl::toPercentEncoding( srcUrl.toString(), "/" );
destUrl.adjusted( QUrl::RemoveFilename );
destUrl = destUrl.adjusted( QUrl::RemoveFilename );
destUrl.setPath(destUrl.path() + filename);
}
......
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