src/eric7/WebBrowser/UrlBar/FavIconLabel.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
111 Private method to show the site info popup. 111 Private method to show the site info popup.
112 112
113 @param pos position the popup should be shown at 113 @param pos position the popup should be shown at
114 @type QPoint 114 @type QPoint
115 """ 115 """
116 from ..SiteInfo.SiteInfoWidget import SiteInfoWidget
117
116 if self.__browser is None: 118 if self.__browser is None:
117 return 119 return
118 120
119 url = self.__browser.url() 121 url = self.__browser.url()
120 if url.isValid() and url.scheme() not in ["eric", "about", "data", "chrome"]: 122 if url.isValid() and url.scheme() not in ["eric", "about", "data", "chrome"]:
121 from ..SiteInfo.SiteInfoWidget import SiteInfoWidget
122
123 info = SiteInfoWidget(self.__browser, self) 123 info = SiteInfoWidget(self.__browser, self)
124 info.showAt(pos) 124 info.showAt(pos)

eric ide

mercurial