summaryrefslogtreecommitdiff
path: root/src/mainwindow.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/mainwindow.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/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 95fbd92d..d5b81c1e 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -680,7 +680,7 @@ void MainWindow::updateActions()
if (am->menu())
am->menu()->clear();
- foreach (HistoryItem item, mainView()->recentlyClosedTabs())
+ foreach (const HistoryItem &item, mainView()->recentlyClosedTabs())
{
KAction *a = new KAction(Application::icon(item.url), item.title, this);
a->setData(item.url);