mirror of
https://github.com/KDE/konsole.git
synced 2026-05-01 19:25:46 -04:00
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:
@@ -42,9 +42,4 @@
|
||||
<Menu name="help"><text>Help</text>
|
||||
</Menu>
|
||||
</MenuBar>
|
||||
<Menu name="new-tab"><text>New &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();
|
||||
|
||||
Reference in New Issue
Block a user