--- a/eric6/E5Gui/E5GenericDiffHighlighter.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/E5Gui/E5GenericDiffHighlighter.py Tue Mar 02 17:17:09 2021 +0100 @@ -112,7 +112,7 @@ charFormat.setBackground(bg) if bold: - charFormat.setFontWeight(QFont.Bold) + charFormat.setFontWeight(QFont.Weight.Bold) return charFormat