summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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");