From 6fc47df74dbd6c6c95dc14182cf33ffd0d4de4f6 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Mon, 7 Mar 2011 02:34:37 +0530 Subject: Respect the users Download path set in KDE System Settings --- src/webpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.1