374 menu = QMenu() |
374 menu = QMenu() |
375 menu.addAction(self.tr("&Show error data"), self.__showError) |
375 menu.addAction(self.tr("&Show error data"), self.__showError) |
376 menu.exec(QCursor.pos()) |
376 menu.exec(QCursor.pos()) |
377 |
377 |
378 @pyqtSlot(QTreeWidgetItem, int) |
378 @pyqtSlot(QTreeWidgetItem, int) |
379 def __itemActivated(self, itm, column): |
379 def __itemActivated(self, itm, _column): |
380 """ |
380 """ |
381 Private slot to handle the activation of an item. |
381 Private slot to handle the activation of an item. |
382 |
382 |
383 @param itm reference to the activated item |
383 @param itm reference to the activated item |
384 @type QTreeWidgetItem |
384 @type QTreeWidgetItem |
385 @param column column of the activation |
385 @param _column column of the activation (unused) |
386 @type int |
386 @type int |
387 """ |
387 """ |
388 if self.feedsTree.indexOfTopLevelItem(itm) != -1: |
388 if self.feedsTree.indexOfTopLevelItem(itm) != -1: |
389 return |
389 return |
390 |
390 |