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
wilder-portage
Kurt Hindenburg 15 years ago
parent 86689b1b2e
commit 2f7a42e762
  1. 5
      desktop/konsoleui.rc
  2. 3
      src/MainWindow.cpp

@ -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>

@ -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();

Loading…
Cancel
Save