From 6e4711a6a831bf145443e1c3605968ec15d85317 Mon Sep 17 00:00:00 2001 From: Shaun Reich Date: Wed, 11 Mar 2009 20:48:37 +0000 Subject: Changed i++ to ++i. I accidentally did the first when I first made the recently closed tabs feature (habitual). svn path=/trunk/KDE/kdebase/apps/; revision=938422 --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index d47996a52..2b9e5b58e 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -510,7 +510,7 @@ void DolphinMainWindow::restoreClosedTab(QAction* action) // action and the separator QList actions = m_recentTabsMenu->menu()->actions(); const int count = actions.size(); - for (int i = 2; i < count; i++) { + for (int i = 2; i < count; ++i) { m_recentTabsMenu->menu()->removeAction(actions.at(i)); } } else { -- cgit v1.3