| 365 | } |
| 366 | |
| 367 | void StandardDocumentationView::contextMenuEvent(QContextMenuEvent* event) |
| 368 | { |
| 369 | auto menu = createStandardContextMenu(); |
| 370 | if (!menu) { |
| 371 | return; |
| 372 | } |
| 373 | |
| 374 | menu->setAttribute(Qt::WA_DeleteOnClose); |
| 375 | menu->popup(event->globalPos()); |
| 376 | } |
| 377 | |
| 378 | void StandardDocumentationView::updateZoomFactor(double zoomFactor) |
| 379 | { |
nothing calls this directly
no test coverage detected