summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 17d791c4..d1f0bf9f 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -180,7 +180,7 @@ static bool downloadResource(const KUrl& srcUrl, const KIO::MetaData& metaData =
do
{
// follow bug:184202 fixes
- destUrl = KFileDialog::getSaveFileName(KUrl(KGlobalSettings::downloadPath().append(fileName)), QString(), parent);
+ destUrl = KFileDialog::getSaveFileName(KUrl::fromPath(fileName), QString(), parent);
if (destUrl.isEmpty())
return false;