Commit 1c16d39d authored by Kai Koehne's avatar Kai Koehne
Browse files

Doc: Do not advise to overwrite QWidget::contextMenuEvent()


There's also QWidget::setContextMenuPolicy and
QWidget::customContextMenuRequested, which is arguably a better
approach. Anyhow, this isn't specific to QWebEngineView, so
let's leave it at that. Finally, there's no need to call
triggerPageAction if you add an action to a menu.

Change-Id: I0c84038746a78316ed6b90a98b68fa5eb95fbad5
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: default avatarMichal Klocek <michal.klocek@qt.io>
parent 7439343d
Showing with 7 additions and 10 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment