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

Method showContextMenu

launcher/ui/pages/instance/VersionPage.cpp:190–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void VersionPage::showContextMenu(const QPoint& pos)
191{
192 auto menu = ui->toolBar->createContextMenu(this, tr("Context menu"));
193 menu->exec(ui->packageView->mapToGlobal(pos));
194 delete menu;
195}
196
197void VersionPage::packageCurrent(const QModelIndex& current, [[maybe_unused]] const QModelIndex& previous)
198{

Callers

nothing calls this directly

Calls 2

createContextMenuMethod · 0.80
execMethod · 0.45

Tested by

no test coverage detected