diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-13 13:10:14 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-13 13:10:14 +0200 |
commit | df9f5b4f5219ddaba6321660086fa274a5249bd2 (patch) | |
tree | b8793f066ca1108e4970c8f7d8e7fa38300dd3c1 /src/webpage.cpp | |
parent | Just downloading not handled files (diff) | |
download | rekonq-df9f5b4f5219ddaba6321660086fa274a5249bd2.tar.xz |
Removed unuseful (?) WebPage::chooseFile method.
Some TODO comments added.
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 7 |
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()); -} |