Commit 13a508bc authored by Méven Car's avatar Méven Car
Browse files

Linking fileitemplugin: use parent Widget as menu parent

It is to allow the parent to add EventFilter to its children.

CCBUG: 425997
parent acf83062
......@@ -100,7 +100,7 @@ QAction *FileItemLinkingPlugin::Private::basicAction(QWidget *parentWidget)
root = new QAction(QIcon::fromTheme("activities"),
i18n("Activities"), parentWidget);
rootMenu = new QMenu();
rootMenu = new QMenu(parentWidget);
rootMenu->addAction(new QAction(i18n("Loading..."), this));
connect(root, &QAction::hovered,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment