summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRohan Garg <rohangarg@kubuntu.org>2011-03-07 02:34:37 +0530
committerRohan Garg <rohangarg@kubuntu.org>2011-03-07 02:34:37 +0530
commit6fc47df74dbd6c6c95dc14182cf33ffd0d4de4f6 (patch)
tree913c813a087e183ef197ec2364585a9ee3a55e82 /src
parentrekonq 0.6.86 (diff)
downloadrekonq-6fc47df74dbd6c6c95dc14182cf33ffd0d4de4f6.tar.xz
Respect the users Download path set in KDE System Settings
Diffstat (limited to 'src')
-rw-r--r--src/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index cc89a57d..3e2798d3 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -178,7 +178,7 @@ static bool downloadResource(const KUrl& srcUrl, const KIO::MetaData& metaData =
do
{
// follow bug:184202 fixes
- destUrl = KFileDialog::getSaveFileName(KUrl::fromPath(fileName), QString(), parent);
+ destUrl = KFileDialog::getSaveFileName(KUrl(KGlobalSettings::downloadPath().append(fileName)), QString(), parent);
if (destUrl.isEmpty())
return false;