]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Changed i++ to ++i. I accidentally did the first when I first made the recently close...
authorShaun Reich <shaun.reich@kdemail.net>
Wed, 11 Mar 2009 20:48:37 +0000 (20:48 +0000)
committerShaun Reich <shaun.reich@kdemail.net>
Wed, 11 Mar 2009 20:48:37 +0000 (20:48 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=938422

src/dolphinmainwindow.cpp

index d47996a52d52d5608bb200ebc179bfe2086e4a7b..2b9e5b58e0389e871325e36d2e80d073e68051e5 100644 (file)
@@ -510,7 +510,7 @@ void DolphinMainWindow::restoreClosedTab(QAction* action)
         // action and the separator
         QList<QAction*> 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 {