VultureChecker/VultureCheckerDialog.py

branch
eric7
changeset 89
58860f9f3046
parent 85
6a17f25cefa1
child 90
6393ee6e7993
--- a/VultureChecker/VultureCheckerDialog.py	Thu Dec 30 11:44:42 2021 +0100
+++ b/VultureChecker/VultureCheckerDialog.py	Mon Sep 19 18:06:19 2022 +0200
@@ -236,7 +236,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
@@ -255,7 +254,6 @@
         The results are reported to the __processResult slot.
         """
         if not self.files:
-            self.checkProgressLabel.setPath("")
             self.checkProgress.setMaximum(1)
             self.checkProgress.setValue(1)
             self.__finish()
@@ -263,7 +261,6 @@
         
         self.filename = self.files.pop(0)
         self.checkProgress.setValue(self.progress)
-        self.checkProgressLabel.setPath(self.filename)
         QApplication.processEvents()
         
         if self.cancelled:
@@ -289,8 +286,6 @@
         
         The results are reported to the __processResult slot.
         """
-        self.checkProgressLabel.setPath(self.tr("Preparing files..."))
-        
         argumentsList = []
         for progress, filename in enumerate(self.files, start=1):
             self.checkProgress.setValue(progress)
@@ -307,7 +302,6 @@
         
         # reset the progress bar to the checked files
         self.checkProgress.setValue(self.progress)
-        self.checkProgressLabel.setPath(self.tr("Transferring data..."))
         QApplication.processEvents()
         
         self.__finished = False
@@ -317,7 +311,6 @@
         """
         Private slot handling the completion of a batch job.
         """
-        self.checkProgressLabel.setPath("")
         self.checkProgress.setMaximum(1)
         self.checkProgress.setValue(1)
         self.__finish()
@@ -350,9 +343,6 @@
         if not self.__batch and fn != self.filename:
             return
         
-        self.checkProgressLabel.setPath(self.__project.getRelativePath(fn))
-        QApplication.processEvents()
-        
         if "error" in result:
             self.__createErrorItem(fn, result["error"])
         else:
@@ -397,7 +387,6 @@
                 QHeaderView.ResizeMode.Interactive)
             
             self.checkProgress.setVisible(False)
-            self.checkProgressLabel.setVisible(False)
             
             if self.resultList.topLevelItemCount() == 0:
                 itm = QTreeWidgetItem(self.resultList,

eric ide

mercurial