1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 22:35:45 +02:00

chatview: disable webengineview context menu for media msgs

Gitlab: #653
Change-Id: I79130e60c7f6632736b6d41773cde7a33eaa1107
This commit is contained in:
Andreas Traczyk 2022-01-24 11:17:42 -05:00 committed by Sébastien Blin
parent a2a263c6c1
commit 28f922677b

View file

@ -275,6 +275,9 @@ Loader {
parent.height :
Math.ceil(adjustedWidth / aspectRatio) :
54
onContextMenuRequested: function(request) {
request.accepted = true
}
settings.fullScreenSupportEnabled: mediaInfo.isVideo
settings.javascriptCanOpenWindows: false
Component.onCompleted: loadHtml(mediaInfo.html, 'file://')