diff -r 10910764454a -r ea8f13f76d26 WebBrowser/FeaturePermissions/FeaturePermissionBar.py --- a/WebBrowser/FeaturePermissions/FeaturePermissionBar.py Mon Mar 28 16:06:39 2016 +0200 +++ b/WebBrowser/FeaturePermissions/FeaturePermissionBar.py Mon Mar 28 16:34:22 2016 +0200 @@ -45,7 +45,7 @@ self.__manager = manager self.__permissionFeatureTexts = { - # TODO: Qt 5.6 + # TODO: Qt 5.7? ## QWebEnginePage.Notifications: ## self.tr("{0} wants to use desktop notifications."), QWebEnginePage.Geolocation: @@ -56,14 +56,17 @@ self.tr("{0} wants to use your camera."), QWebEnginePage.MediaAudioVideoCapture: self.tr("{0} wants to use your microphone and camera."), + QWebEnginePage.MouseLock: + self.tr("{0} wants to lock your mouse."), } self.__permissionFeatureIconNames = { - # TODO: Qt 5.6 + # TODO: Qt 5.7? ## QWebEnginePage.Notifications: "notification.png", QWebEnginePage.Geolocation: "geolocation.png", QWebEnginePage.MediaAudioCapture: "audiocapture.png", QWebEnginePage.MediaVideoCapture: "camera.png", QWebEnginePage.MediaAudioVideoCapture: "audio-video.png", + QWebEnginePage.MouseLock: "mouse.png", } self.setAutoFillBackground(True)