From: Peter Penz Date: Tue, 10 Mar 2009 06:36:34 +0000 (+0000) Subject: SVN_SILENT: comment update X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/0e5b55b7788f9ed632dccb6646caed7513efeadf SVN_SILENT: comment update svn path=/trunk/KDE/kdebase/apps/; revision=937623 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 31f3f48a9..6338f0f3f 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1356,8 +1356,8 @@ void DolphinMainWindow::rememberClosedTab(int index) } else { tabsMenu->insertAction(tabsMenu->actions().at(2), action); } - //10 is the limit, remove the oldest one to make room. It's actually 8, since - //the separator and the "Empty Recently Closed Tabs" entry count as one + + // assure that only up to 8 closed tabs are shown in the menu if (tabsMenu->actions().size() > 8) { tabsMenu->removeAction(tabsMenu->actions().last()); }