summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 0cd61ddd..2b5a8202 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -644,7 +644,7 @@ void MainView::openClosedTab()
{
WebView *view = rApp->mainWindow()->mainView()->newWebTab()->view();
TabHistory history;
- Q_FOREACH(TabHistory item, m_recentlyClosedTabs)
+ Q_FOREACH(const TabHistory & item, m_recentlyClosedTabs)
{
if (item.history == action->data().toByteArray())
{