diff options
author | Rohan Garg <rohangarg@kubuntu.org> | 2011-03-07 02:34:37 +0530 |
---|---|---|
committer | Rohan Garg <rohangarg@kubuntu.org> | 2011-03-07 02:34:37 +0530 |
commit | 6fc47df74dbd6c6c95dc14182cf33ffd0d4de4f6 (patch) | |
tree | 913c813a087e183ef197ec2364585a9ee3a55e82 | |
parent | rekonq 0.6.86 (diff) | |
download | rekonq-6fc47df74dbd6c6c95dc14182cf33ffd0d4de4f6.tar.xz |
Respect the users Download path set in KDE System Settings
-rw-r--r-- | src/webpage.cpp | 2 |
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; |