summaryrefslogtreecommitdiff
path: root/src/newtabpage.cpp
diff options
context:
space:
mode:
authorJonathan Thomas <echidnaman@kubuntu.org>2010-05-27 10:57:10 -0400
committerJonathan Thomas <echidnaman@kubuntu.org>2010-05-27 10:57:10 -0400
commit498eac8ccbc952228ab14178fc36635360ddde91 (patch)
tree1967d5e24e6e400077c333875c168a643460f02f /src/newtabpage.cpp
parentThe second arg of QString::replace has to be a QString, I suppose (diff)
downloadrekonq-498eac8ccbc952228ab14178fc36635360ddde91.tar.xz
Const iterator fixes
Diffstat (limited to 'src/newtabpage.cpp')
-rw-r--r--src/newtabpage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp
index 2ab52c50..9c381f97 100644
--- a/src/newtabpage.cpp
+++ b/src/newtabpage.cpp
@@ -380,8 +380,7 @@ void NewTabPage::browsingMenu(const KUrl &currentUrl)
nav.findFirst("span").appendInside(i18n("Downloads"));
navItems.append(nav);
- QWebElement it;
- foreach(it, navItems)
+ foreach(QWebElement it, navItems)
{
if (it.findFirst("a").attribute("href") == currentUrl.toMimeDataString())
it.addClass("current");