--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitLogBrowserDialog.py Thu May 25 11:12:05 2023 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitLogBrowserDialog.py Thu May 25 19:51:47 2023 +0200 @@ -562,15 +562,12 @@ self.__commitIds = nextCommitIds return col, color, edges - def __generateIcon( - self, column, color, bottomedges, topedges, dotColor, currentCommit - ): + def __generateIcon(self, column, bottomedges, topedges, dotColor, currentCommit): """ Private method to generate an icon containing the revision tree for the given data. @param column column index of the revision (integer) - @param color color of the node (integer) @param bottomedges list of edges for the bottom of the node (list of tuples of three integers) @param topedges list of edges for the top of the node @@ -775,7 +772,6 @@ icon = self.__generateIcon( column, - color, edges, topedges, QColor("blue"), @@ -913,6 +909,7 @@ self.__identifyProject() self.__getLogEntries(noEntries=noEntries) + @pyqtSlot(int, QProcess.ExitStatus) def __procFinished(self, exitCode, exitStatus): """ Private slot connected to the finished signal. @@ -1391,7 +1388,7 @@ selectedItems = self.logTree.selectedItems() if len(selectedItems) == 1: self.detailsEdit.setHtml(self.__generateDetailsTableText(selectedItems[0])) - self.__updateFilesTree(self.filesTree, selectedItems[0]) + self.__updateFilesTree(selectedItems[0]) self.__resizeColumnsFiles() self.__resortFiles() if self.filesTree.topLevelItemCount() == 0: @@ -1489,12 +1486,10 @@ return html - def __updateFilesTree(self, parent, itm): + def __updateFilesTree(self, itm): """ Private method to update the files tree with changes of the given item. - @param parent parent for the items to be added - @type QTreeWidget or QTreeWidgetItem @param itm reference to the item the update should be based on @type QTreeWidgetItem """