MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / ShowContextMenu

Method ShowContextMenu

launcher/ui/pages/instance/WorldListPage.cpp:143–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void WorldListPage::ShowContextMenu(const QPoint& pos)
144{
145 auto menu = ui->toolBar->createContextMenu(this, tr("Context menu"));
146 menu->exec(ui->worldTreeView->mapToGlobal(pos));
147 delete menu;
148}
149
150QMenu* WorldListPage::createPopupMenu()
151{

Callers

nothing calls this directly

Calls 2

createContextMenuMethod · 0.80
execMethod · 0.45

Tested by

no test coverage detected