mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
Revert "ContextMenu: Allow plugins submenus to react to Shift modifiers"
This reverts commit ce3c243525
.
The apidox of setParentWidget says:
Set the parent widget for any dialogs being shown.
This should normally be your mainwindow, not a popup menu, so that it still exists even after the popup is closed
(e.g. error message from KRun) and so that QAction::setStatusTip can find a statusbar, too.
CCBUG: 425997
This commit is contained in:
parent
f01a61b76c
commit
f8d1b494db
|
@ -225,7 +225,7 @@ void DolphinContextMenu::openItemContextMenu()
|
|||
const KFileItemListProperties& selectedItemsProps = selectedItemsProperties();
|
||||
|
||||
KFileItemActions fileItemActions;
|
||||
fileItemActions.setParentWidget(this);
|
||||
fileItemActions.setParentWidget(m_mainWindow);
|
||||
fileItemActions.setItemListProperties(selectedItemsProps);
|
||||
|
||||
if (m_selectedItems.count() == 1) {
|
||||
|
|
Loading…
Reference in a new issue