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/mainwindow.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/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 2 |
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); |