MCPcopy Create free account
hub / github.com/IJHack/QtPass / showBrowserContextMenu

Method showBrowserContextMenu

src/mainwindow.cpp:1231–1237  ·  view source on GitHub ↗

* @brief MainWindow::showBrowserContextMenu show us the context menu in * password window * @param pos */

Source from the content-addressed store, hash-verified

1229 * @param pos
1230 */
1231void 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected