--- a/eric6/Project/ProjectBrowser.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/Project/ProjectBrowser.py Tue Mar 02 17:17:09 2021 +0100 @@ -50,7 +50,7 @@ self.setUsesScrollButtons(True) self.vcsStatusIndicator = E5ClickableLed(self) - self.setCornerWidget(self.vcsStatusIndicator, Qt.TopLeftCorner) + self.setCornerWidget(self.vcsStatusIndicator, Qt.Corner.TopLeftCorner) self.vcsStatusIndicator.clicked.connect( self.__vcsStatusIndicatorClicked) self.vcsStatusColorNames = { @@ -392,7 +392,7 @@ """ self.currentVcsStatus = state if state == " " or state not in self.vcsStatusColorNames: - self.vcsStatusIndicator.setColor(QColor(Qt.lightGray)) + self.vcsStatusIndicator.setColor(QColor(Qt.GlobalColor.lightGray)) else: self.vcsStatusIndicator.setColor( Preferences.getProjectBrowserColour(