eric6/WebBrowser/OpenSearch/OpenSearchEngineAction.py

changeset 8218
7c09585bd960
parent 7923
91e843545d9a
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
22 22
23 @param engine reference to the open search engine object 23 @param engine reference to the open search engine object
24 (OpenSearchEngine) 24 (OpenSearchEngine)
25 @param parent reference to the parent object (QObject) 25 @param parent reference to the parent object (QObject)
26 """ 26 """
27 super(OpenSearchEngineAction, self).__init__(parent) 27 super().__init__(parent)
28 28
29 self.__engine = engine 29 self.__engine = engine
30 if self.__engine.networkAccessManager() is None: 30 if self.__engine.networkAccessManager() is None:
31 import WebBrowser.WebBrowserWindow 31 import WebBrowser.WebBrowserWindow
32 self.__engine.setNetworkAccessManager( 32 self.__engine.setNetworkAccessManager(

eric ide

mercurial