diff options
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 5 |
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 ); } |