summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 45cf82d7..b289c97f 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -260,6 +260,7 @@ QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QS
}
+// FIXME: sometimes url.fileName() fails to retrieve url file name
void WebPage::slotDownloadRequested(const QNetworkRequest &request)
{
const KUrl url(request.url());
@@ -273,9 +274,3 @@ void WebPage::slotDownloadRequested(const QNetworkRequest &request)
job->addMetaData("cache", "cache"); // Use entry from cache if available.
job->uiDelegate()->setAutoErrorHandlingEnabled(true);
}
-
-
-QString WebPage::chooseFile(QWebFrame *frame, const QString &suggestedFile)
-{
- return KFileDialog::getOpenFileName(suggestedFile, QString(), frame->page()->view());
-}