diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2023-01-28 20:02:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-28 20:02:17 +0100 |
commit | 00eac1e33d3e895eaeb5fcb685680579c6584893 (patch) | |
tree | 4011e54c73c3b34b6c6272485aa6f61b48356698 | |
parent | 98e99b0f77451414f2b26f1094de59e28b2f2f91 (diff) | |
parent | b7f9fdffbb7406602405b41609f94766d9ac0634 (diff) |
Merge pull request #578 from fasked/master
Delete context menu after exec
-rw-r--r-- | src/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d792c6ed..bc359f06 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -947,6 +947,7 @@ void MainWindow::showBrowserContextMenu(const QPoint &pos) { QPoint globalPos = ui->textBrowser->viewport()->mapToGlobal(pos); contextMenu->exec(globalPos); + delete contextMenu; } /** |