* @brief MainWindow::showBrowserContextMenu show us the context menu in * password window * @param pos */
| 1229 | * @param pos |
| 1230 | */ |
| 1231 | void MainWindow::showBrowserContextMenu(const QPoint &pos) { |
| 1232 | QMenu *contextMenu = ui->textBrowser->createStandardContextMenu(pos); |
| 1233 | QPoint globalPos = ui->textBrowser->viewport()->mapToGlobal(pos); |
| 1234 | |
| 1235 | contextMenu->exec(globalPos); |
| 1236 | delete contextMenu; |
| 1237 | } |
| 1238 | |
| 1239 | /** |
| 1240 | * @brief MainWindow::openFolder open the folder in the default file manager |
nothing calls this directly
no outgoing calls
no test coverage detected