RadonMetrics/CyclomaticComplexityDialog.py

branch
eric7
changeset 93
1ae73306422a
parent 90
1405e41edc0b
child 94
725eaca7bc4b
--- a/RadonMetrics/CyclomaticComplexityDialog.py	Thu Dec 30 11:43:59 2021 +0100
+++ b/RadonMetrics/CyclomaticComplexityDialog.py	Mon Sep 19 17:43:37 2022 +0200
@@ -328,7 +328,6 @@
             
             self.checkProgress.setMaximum(len(self.files))
             self.checkProgress.setVisible(len(self.files) > 1)
-            self.checkProgressLabel.setVisible(len(self.files) > 1)
             QApplication.processEvents()
             
             # now go through all the files
@@ -351,7 +350,6 @@
         @type str
         """
         if not self.files:
-            self.checkProgressLabel.setPath("")
             self.checkProgress.setMaximum(1)
             self.checkProgress.setValue(1)
             self.__finish()
@@ -359,7 +357,6 @@
         
         self.filename = self.files.pop(0)
         self.checkProgress.setValue(self.progress)
-        self.checkProgressLabel.setPath(self.filename)
         QApplication.processEvents()
         
         if self.cancelled:
@@ -387,8 +384,6 @@
         """
         self.__lastFileItem = None
         
-        self.checkProgressLabel.setPath(self.tr("Preparing files..."))
-        
         argumentsList = []
         for progress, filename in enumerate(self.files, start=1):
             self.checkProgress.setValue(progress)
@@ -418,7 +413,6 @@
         @type str, one of ["raw", "mi", "cc"]
         """
         if type_ == "cc":
-            self.checkProgressLabel.setPath("")
             self.checkProgress.setMaximum(1)
             self.checkProgress.setValue(1)
             self.__finish()
@@ -455,7 +449,6 @@
         if not self.__batch and fn != self.filename:
             return
         
-        self.checkProgressLabel.setPath(self.__project.getRelativePath(fn))
         QApplication.processEvents()
         
         if "error" in result:
@@ -546,7 +539,6 @@
             ))
             
             self.checkProgress.setVisible(False)
-            self.checkProgressLabel.setVisible(False)
     
     @pyqtSlot(QAbstractButton)
     def on_buttonBox_clicked(self, button):

eric ide

mercurial