MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / ShowContextMenu

Method ShowContextMenu

launcher/ui/pages/global/AccountListPage.cpp:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void AccountListPage::ShowContextMenu(const QPoint& pos)
116{
117 auto menu = ui->toolBar->createContextMenu(this, tr("Context menu"));
118 menu->exec(ui->listView->mapToGlobal(pos));
119 delete menu;
120}
121
122void AccountListPage::changeEvent(QEvent* event)
123{

Callers

nothing calls this directly

Calls 2

createContextMenuMethod · 0.80
execMethod · 0.45

Tested by

no test coverage detected