Skip to content
Snippets Groups Projects
Commit b08cef83 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm global actions from item context menu

parent e95bcd2a
No related branches found
No related tags found
1 merge request!2387unify code for list views
......@@ -183,8 +183,5 @@ void SamplesQListView::showContextMenu(const QPoint& pos)
menu.addAction(createRemoveAction(&menu, sampleAtPoint));
menu.addSeparator();
}
menu.addAction(m_new_sample_action);
menu.addAction(m_choose_from_library_action);
menu.exec(mapToGlobal(pos));
}
......@@ -135,7 +135,6 @@ void ItemViewOverlayButtons::install(QAbstractItemView* view, FnGetActions fnGet
{
auto* h = new ItemViewOverlayButtons(view);
h->m_get_actions = fnGetActions;
h->m_view = view;
view->installEventFilter(h);
h->update();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment