mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-05 07:15:40 +02:00
chatview: disable webengineview context menu for media msgs
Gitlab: #653 Change-Id: I79130e60c7f6632736b6d41773cde7a33eaa1107
This commit is contained in:
parent
a2a263c6c1
commit
28f922677b
1 changed files with 3 additions and 0 deletions
|
@ -275,6 +275,9 @@ Loader {
|
||||||
parent.height :
|
parent.height :
|
||||||
Math.ceil(adjustedWidth / aspectRatio) :
|
Math.ceil(adjustedWidth / aspectRatio) :
|
||||||
54
|
54
|
||||||
|
onContextMenuRequested: function(request) {
|
||||||
|
request.accepted = true
|
||||||
|
}
|
||||||
settings.fullScreenSupportEnabled: mediaInfo.isVideo
|
settings.fullScreenSupportEnabled: mediaInfo.isVideo
|
||||||
settings.javascriptCanOpenWindows: false
|
settings.javascriptCanOpenWindows: false
|
||||||
Component.onCompleted: loadHtml(mediaInfo.html, 'file://')
|
Component.onCompleted: loadHtml(mediaInfo.html, 'file://')
|
||||||
|
|
Loading…
Add table
Reference in a new issue