MCPcopy Create free account
hub / github.com/ElementsProject/elements / onDisplayUnitsClicked

Method onDisplayUnitsClicked

src/qt/bitcoingui.cpp:1538–1542  ·  view source on GitHub ↗

Shows context menu with Display Unit options by the mouse coordinates */

Source from the content-addressed store, hash-verified

1536
1537/** Shows context menu with Display Unit options by the mouse coordinates */
1538void UnitDisplayStatusBarControl::onDisplayUnitsClicked(const QPoint& point)
1539{
1540 QPoint globalPos = mapToGlobal(point);
1541 menu->exec(globalPos);
1542}
1543
1544/** Tells underlying optionsModel to update its current display unit. */
1545void UnitDisplayStatusBarControl::onMenuSelection(QAction* action)

Callers

nothing calls this directly

Calls 1

execMethod · 0.80

Tested by

no test coverage detected