diff options
Diffstat (limited to 'examples/webengine/recipebrowser/resources/qml/main.qml')
-rw-r--r-- | examples/webengine/recipebrowser/resources/qml/main.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/webengine/recipebrowser/resources/qml/main.qml b/examples/webengine/recipebrowser/resources/qml/main.qml index 84067e8f5..b49cb6649 100644 --- a/examples/webengine/recipebrowser/resources/qml/main.qml +++ b/examples/webengine/recipebrowser/resources/qml/main.qml @@ -102,6 +102,11 @@ ApplicationWindow { // Make sure focus is not taken by the web view, so user can continue navigating // recipes with the keyboard. settings.focusOnNavigationEnabled: false + + onContextMenuRequested: function(request) { + request.accepted = true + } + property bool firstLoadComplete: false onLoadingChanged: { if (loadRequest.status === WebEngineView.LoadSucceededStatus |