src/eric7/WebBrowser/Feeds/FeedsManager.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10692
9becf9ca115c
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
333 itm = QTreeWidgetItem(topItem) 333 itm = QTreeWidgetItem(topItem)
334 itm.setText(0, titleString) 334 itm.setText(0, titleString)
335 itm.setData(0, FeedsManager.UrlStringRole, linkString) 335 itm.setData(0, FeedsManager.UrlStringRole, linkString)
336 topItem.setExpanded(True) 336 topItem.setExpanded(True)
337 337
338 def __customContextMenuRequested(self, pos): # noqa: U100 338 def __customContextMenuRequested(self, _pos):
339 """ 339 """
340 Private slot to handle the context menu request for the feeds tree. 340 Private slot to handle the context menu request for the feeds tree.
341 341
342 @param pos position the context menu was requested 342 @param _pos position the context menu was requested (unused)
343 @type QPoint 343 @type QPoint
344 """ 344 """
345 itm = self.feedsTree.currentItem() 345 itm = self.feedsTree.currentItem()
346 if itm is None: 346 if itm is None:
347 return 347 return

eric ide

mercurial