kget: adjust to KUrl changes

KUrl::upUrl() does not simply remove the filename component of the URL
now, KUrl::directory() does that (as it should)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-08 19:46:51 +03:00
parent 994a53cdbb
commit 3ea549ebbc

View file

@ -151,7 +151,7 @@ class KGET_EXPORT Transfer : public Job
/** /**
* @returns the directory the Transfer will be stored to * @returns the directory the Transfer will be stored to
*/ */
virtual KUrl directory() const {return m_dest.upUrl();} virtual KUrl directory() const {return m_dest.directory();}
/** /**
* Move the download to the new destination * Move the download to the new destination