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[ |