summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-12-16 11:38:20 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-16 11:42:18 +0100
commit12b3217f9b26ebc5cde24247cc6caac6116bcebe (patch)
tree5559c7a9c5ca35307877cf55fdbaea520b88e21c /src
parentOnly do CTRL+ENTER thing if valid URL, search otherwise (diff)
downloadrekonq-12b3217f9b26ebc5cde24247cc6caac6116bcebe.tar.xz
Fix download dir choice
Also if this fix is NOT 100% perfect, it works as expected in the common cases, letting users start dir choice from the working one ($HOME?) and respecting KRecentDirs KFileDialog feature CCMAIL: asiasuppenesser@gmx.de
Diffstat (limited to 'src')
-rw-r--r--src/download/downloadmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/download/downloadmanager.cpp b/src/download/downloadmanager.cpp
index 1a5bbbd4..ac03fb29 100644
--- a/src/download/downloadmanager.cpp
+++ b/src/download/downloadmanager.cpp
@@ -225,7 +225,7 @@ bool DownloadManager::downloadResource(const KUrl &srcUrl, const KIO::MetaData &
if (forceDirRequest || ReKonfig::askDownloadPath())
{
// follow bug:184202 fixes
- destUrl = KFileDialog::getSaveUrl(KUrl::fromPath(fileName), QString(), parent);
+ destUrl = KFileDialog::getSaveFileName(fileName, QString(), parent);
}
else
{