summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-09-25 12:50:54 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-09-25 12:50:54 +0200
commit188ade26f9182cb24062fde6756b593e24532373 (patch)
tree527bc5b5d01e31b87e289146f53af17d8f345e13 /src/webpage.cpp
parentDon't crash if the rekonqui.rc file can't be found (diff)
downloadrekonq-188ade26f9182cb24062fde6756b593e24532373.tar.xz
Revert "Respect the users Download path set in KDE System Settings"
This reverts commit 6fc47df74dbd6c6c95dc14182cf33ffd0d4de4f6. This is seen as a bug for users deciding to change the download dir. Every major browser behaves this way. See bug closed about BUG: 270611
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;