diff options
author | Johannes Troscher <fritz_van_tom@hotmail.com> | 2011-11-27 12:18:33 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-11-27 12:18:33 +0100 |
commit | 6390d8ea58021f67257527cf98af5074656e0838 (patch) | |
tree | 2defdd7055541f41da100a81aa715bfb10ce8cc9 /src/webpage.cpp | |
parent | Merge branch 'bkGroupMidClick' (diff) | |
download | rekonq-6390d8ea58021f67257527cf98af5074656e0838.tar.xz |
Unifies macro style
REVIEW: 103242
REVIEWED-BY: adjam
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 5fe03113..a9ac1a84 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -703,14 +703,14 @@ void WebPage::downloadAllContentsWithKGet() KUrl relativeUrl; QWebElementCollection images = mainFrame()->documentElement().findAll("img"); - foreach(const QWebElement & img, images) + Q_FOREACH(const QWebElement & img, images) { relativeUrl.setEncodedUrl(img.attribute("src").toUtf8(), KUrl::TolerantMode); contents << baseUrl.resolved(relativeUrl).toString(); } QWebElementCollection links = mainFrame()->documentElement().findAll("a"); - foreach(const QWebElement & link, links) + Q_FOREACH(const QWebElement & link, links) { relativeUrl.setEncodedUrl(link.attribute("href").toUtf8(), KUrl::TolerantMode); contents << baseUrl.resolved(relativeUrl).toString(); |