Remove unused code that was used in the previous menu stucture.

This removes the warning:
konsole(11694)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory!

BUG: 183244

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1216478
This commit is contained in:
Kurt Hindenburg
2011-01-23 16:30:22 +00:00
parent 86689b1b2e
commit 2f7a42e762
2 changed files with 0 additions and 8 deletions

View File

@@ -42,9 +42,4 @@
<Menu name="help"><text>Help</text>
</Menu>
</MenuBar>
<Menu name="new-tab"><text>New &amp;Tab</text>
<Action name="default-profile"/>
<Separator/>
<ActionList name="favorite-profiles"/>
</Menu>
</kpartgui>

View File

@@ -322,9 +322,6 @@ void MainWindow::setSessionList(ProfileList* list)
void MainWindow::sessionListChanged(const QList<QAction*>& actions)
{
unplugActionList("favorite-profiles");
plugActionList("favorite-profiles", actions);
// Update the 'New Tab' KActionMenu
KMenu *newTabMenu = _newTabMenuAction->menu();
newTabMenu->clear();