src/eric7/WebBrowser/WebBrowserPage.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11105
ec86fc991d28
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
71 printPageRequested = pyqtSignal() 71 printPageRequested = pyqtSignal()
72 navigationRequestAccepted = pyqtSignal(QUrl, QWebEnginePage.NavigationType, bool) 72 navigationRequestAccepted = pyqtSignal(QUrl, QWebEnginePage.NavigationType, bool)
73 73
74 sslConfigurationChanged = pyqtSignal() 74 sslConfigurationChanged = pyqtSignal()
75 75
76 if QtUtilities.qVersionTuple() >= (6, 8, 0): # noqa: Y108 76 if QtUtilities.qVersionTuple() >= (6, 8, 0): # noqa: Y-108
77 PermissionTypeQuestions = { 77 PermissionTypeQuestions = {
78 QWebEnginePermission.PermissionType.Geolocation: QCoreApplication.translate( 78 QWebEnginePermission.PermissionType.Geolocation: QCoreApplication.translate(
79 "WebBrowserPage", 79 "WebBrowserPage",
80 "<p>Allow <b>{0}</b> to access your location information?</p>", 80 "<p>Allow <b>{0}</b> to access your location information?</p>",
81 ), 81 ),

eric ide

mercurial