diff options
Diffstat (limited to 'konqueror/konq_mainwindow.cc')
-rw-r--r-- | konqueror/konq_mainwindow.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/konqueror/konq_mainwindow.cc b/konqueror/konq_mainwindow.cc index 193d2ebca..4ae1f63c1 100644 --- a/konqueror/konq_mainwindow.cc +++ b/konqueror/konq_mainwindow.cc @@ -4789,7 +4789,12 @@ void KonqMainWindow::slotPopupMenu( KXMLGUIClient *client, const TQPoint &_globa connectActionCollection( pPopupMenu->actionCollection() ); - pPopupMenu->factory()->addClient( konqyMenuClient ); + if (pPopupMenu->hasGroup("tabhandling")) + { + // "tabhandling" group in inserted in the popup menu if no encrypted media devices are part of "_items" + // see libkonq/konq_popupmenu.cc KonqPopupMenu::setup() method + pPopupMenu->factory()->addClient( konqyMenuClient ); + } if ( client ) pPopupMenu->factory()->addClient( client ); |