diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-19 16:06:43 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-19 16:06:43 +0200 |
commit | 8ea63d83c5251bcff66de198afabc227162c637f (patch) | |
tree | f88a9e2ed5713b3f111023f187be157013fa94c1 /src/webview.cpp | |
parent | BIG COMMIT (diff) | |
download | rekonq-8ea63d83c5251bcff66de198afabc227162c637f.tar.xz |
Fix download handling
This commit, together with adawit's patch to QtWebKit (not yet merged) && KIO
will definitely solve download handling.
At least, I hope so :)
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index e7226740..1996d6af 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -76,14 +76,11 @@ WebView::WebView(QWidget* parent) setPage(page); // download system - connect(this, SIGNAL(linkShiftClicked(const KUrl &)), - page, SLOT(downloadUrl(const KUrl &))); - connect(page, SIGNAL(downloadRequested(const QNetworkRequest &)), - page, SLOT(downloadRequest(const QNetworkRequest &))); + connect(this, SIGNAL(linkShiftClicked(const KUrl &)), page, SLOT(downloadUrl(const KUrl &))); + connect(page, SIGNAL(downloadRequested(const QNetworkRequest &)), page, SLOT(downloadThings(const QNetworkRequest &))); // middle click || ctrl + click signal - connect(this, SIGNAL(linkMiddleOrCtrlClicked(const KUrl &)), - this, SLOT(loadUrlInNewTab(const KUrl &))); + connect(this, SIGNAL(linkMiddleOrCtrlClicked(const KUrl &)), this, SLOT(loadUrlInNewTab(const KUrl &))); // loadUrl signal connect(this, SIGNAL(loadUrl(const KUrl &, const Rekonq::OpenType &)), |