diff options
| author | Peter Penz <[email protected]> | 2009-03-10 06:36:34 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-03-10 06:36:34 +0000 |
| commit | 0e5b55b7788f9ed632dccb6646caed7513efeadf (patch) | |
| tree | 6ac064f2b90d24ae33723f687d72e8aa8a0b9008 /src/dolphinmainwindow.cpp | |
| parent | e8db076135bb04b81cfc227f1e65067c21248200 (diff) | |
SVN_SILENT: comment update
svn path=/trunk/KDE/kdebase/apps/; revision=937623
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } |
