diff options
-rw-r--r-- | src/webpage.cpp | 2 |
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"); |