summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-24 11:35:31 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-24 11:35:31 +0100
commitbdcf5e1f3d9f8fa855bbc83aa23fd3f4877fbab2 (patch)
treeb73e9d8eea3555f0b7595d527af3a969eaa06ffb
parentMerge commit 'refs/merge-requests/94' of git://gitorious.org/rekonq/mainline ... (diff)
downloadrekonq-bdcf5e1f3d9f8fa855bbc83aa23fd3f4877fbab2.tar.xz
Moved away the m_requestedUrl call, using currentFrame()->url().
(When you want to download something from a page, you should just have loaded it..)
-rw-r--r--src/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 3143f296..b5318874 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -337,7 +337,7 @@ void WebPage::downloadRequest(const QNetworkRequest &request)
void WebPage::downloadAllContentsWithKGet()
{
QSet<QString> contents;
- KUrl baseUrl(m_requestedUrl);
+ KUrl baseUrl( currentFrame()->url() );
KUrl relativeUrl;
QWebElementCollection images = mainFrame()->documentElement().findAll("img");