From: Shaun Reich Date: Wed, 11 Mar 2009 20:48:37 +0000 (+0000) Subject: Changed i++ to ++i. I accidentally did the first when I first made the recently close... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/6e4711a6a831bf145443e1c3605968ec15d85317 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 --- 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 {