summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 482c351d..7a7ec427 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -384,7 +384,10 @@ void MainWindow::slotOpenLocation()
void MainWindow::slotFileSaveAs()
{
- BrowserApplication::instance()->downloadUrl( currentTab()->url() );
+ KUrl srcUrl = currentTab()->url();
+ QString destPath = KFileDialog::getSaveFileName();
+ KUrl destUrl = KUrl(destPath);
+ BrowserApplication::instance()->downloadUrl( srcUrl, destUrl );
}