diff options
author | Jonathan Thomas <echidnaman@kubuntu.org> | 2010-05-27 10:57:10 -0400 |
---|---|---|
committer | Jonathan Thomas <echidnaman@kubuntu.org> | 2010-05-27 10:57:10 -0400 |
commit | 498eac8ccbc952228ab14178fc36635360ddde91 (patch) | |
tree | 1967d5e24e6e400077c333875c168a643460f02f /src/newtabpage.cpp | |
parent | The second arg of QString::replace has to be a QString, I suppose (diff) | |
download | rekonq-498eac8ccbc952228ab14178fc36635360ddde91.tar.xz |
Const iterator fixes
Diffstat (limited to 'src/newtabpage.cpp')
-rw-r--r-- | src/newtabpage.cpp | 3 |
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 ¤tUrl) 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"); |