MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / contextMenuEvent

Method contextMenuEvent

gui/nwebview.cpp:353–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351
352
353void NWebView::contextMenuEvent(QContextMenuEvent *event) {
354 if (event != NULL)
355 contextMenu->exec(event->globalPos());
356 downloadAttachmentAction()->setEnabled(false);
357 rotateImageRightAction->setEnabled(false);
358 rotateImageLeftAction->setEnabled(false);
359 openAction->setEnabled(false);
360 downloadImageAction()->setEnabled(false);}
361
362
363bool NWebView::event(QEvent *event)

Callers

nothing calls this directly

Calls 2

setEnabledMethod · 0.80
execMethod · 0.45

Tested by

no test coverage detected