summaryrefslogtreecommitdiff
path: root/src/download
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-03-14 14:28:59 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-03-14 14:28:59 +0100
commite1f28c6b3809cb55f5c1462a3a02d018b50823dd (patch)
treecc14e7512db62a50693416bb32c1eacc33b6aec4 /src/download
parentRestore activity daemon support (diff)
downloadrekonq-e1f28c6b3809cb55f5c1462a3a02d018b50823dd.tar.xz
Let rekonq save file remotely (again)
Restored the (il)logic fix applied for bug 242675 and added a big note to NOT remove it again BUG: 316684
Diffstat (limited to 'src/download')
-rw-r--r--src/download/downloadmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/download/downloadmanager.cpp b/src/download/downloadmanager.cpp
index 95b31543..1189ec18 100644
--- a/src/download/downloadmanager.cpp
+++ b/src/download/downloadmanager.cpp
@@ -220,7 +220,9 @@ bool DownloadManager::downloadResource(const KUrl &srcUrl, const KIO::MetaData &
if (forceDirRequest || ReKonfig::askDownloadPath())
{
// follow bug:184202 fixes
- destUrl = KFileDialog::getSaveFileName(fileName, QString(), parent);
+ // NOTE: Please, NO MORE use here getSaveFileName as it seems it cannot properly
+ // handle remote urls
+ destUrl = KFileDialog::getSaveUrl(fileName, QString(), parent);
}
else
{