summaryrefslogtreecommitdiff
path: root/src/newtabpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-28 11:12:42 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-28 11:12:42 +0200
commit3cd1f78b70ad60fc0197db664d361e92487d5e8b (patch)
tree96f54bc8232fd146c4d0c4c6c588bd79e415aa4d /src/newtabpage.cpp
parentSVN_SILENT made messages (.desktop file) (diff)
parentDon't use QString::number(), KDE will format the numbers is an l10n-friendly ... (diff)
downloadrekonq-3cd1f78b70ad60fc0197db664d361e92487d5e8b.tar.xz
Merge commit 'refs/merge-requests/2286' of git://gitorious.org/rekonq/mainline into m2286
Diffstat (limited to 'src/newtabpage.cpp')
-rw-r--r--src/newtabpage.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp
index 015e655b..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");
@@ -582,7 +581,7 @@ void NewTabPage::downloadsPage()
div.appendInside("<em>" + date + "</em>");
div.appendInside("<br/>");
- div.appendInside("<a href=" + item.srcUrlString + ">" + item.srcUrlString + "</a>");
+ div.appendInside("<a href=" + item.srcUrlString + '>' + item.srcUrlString + "</a>");
div.appendInside("<br/>");
div.appendInside(markup("a"));