diff -r 43e994af5ee0 -r 912bc70b5b01 eric6/WebBrowser/FeaturePermissions/FeaturePermissionBar.py --- a/eric6/WebBrowser/FeaturePermissions/FeaturePermissionBar.py Thu Aug 29 19:00:33 2019 +0200 +++ b/eric6/WebBrowser/FeaturePermissions/FeaturePermissionBar.py Thu Aug 29 19:02:14 2019 +0200 @@ -67,6 +67,12 @@ }) except AttributeError: pass + try: + # this was re-added in Qt 5.13.0 + self.__permissionFeatureTexts[QWebEnginePage.Notifications] = \ + self.tr("{0} wants to use desktop notifications.") + except AttributeError: + pass self.__permissionFeatureIconNames = { QWebEnginePage.Geolocation: "geolocation.png", @@ -84,6 +90,12 @@ }) except AttributeError: pass + try: + # this was re-added in Qt 5.13.0 + self.__permissionFeatureIconNames[QWebEnginePage.Notifications] = \ + "notification.png" + except AttributeError: + pass self.setAutoFillBackground(True) self.__layout = QHBoxLayout()