src/eric7/WebBrowser/FeaturePermissions/FeaturePermissionBar.py

branch
eric7
changeset 9576
be9f8e7e42e0
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9575:635b6c5a36e1 9576:be9f8e7e42e0
60 QWebEnginePage.Feature.MouseLock: self.tr("{0} wants to lock your mouse."), 60 QWebEnginePage.Feature.MouseLock: self.tr("{0} wants to lock your mouse."),
61 QWebEnginePage.Feature.DesktopVideoCapture: self.tr( 61 QWebEnginePage.Feature.DesktopVideoCapture: self.tr(
62 "{0} wants to capture video of your screen." 62 "{0} wants to capture video of your screen."
63 ), 63 ),
64 QWebEnginePage.Feature.DesktopAudioVideoCapture: self.tr( 64 QWebEnginePage.Feature.DesktopAudioVideoCapture: self.tr(
65 "{0} wants to capture audio and video of your" " screen." 65 "{0} wants to capture audio and video of your screen."
66 ), 66 ),
67 } 67 }
68 with contextlib.suppress(AttributeError): 68 with contextlib.suppress(AttributeError):
69 # this was re-added in Qt 5.13.0 69 # this was re-added in Qt 5.13.0
70 self.__permissionFeatureTexts[ 70 self.__permissionFeatureTexts[

eric ide

mercurial