Helpviewer/DownloadDialog.py

changeset 96
9624a110667d
parent 42
23b45a742e17
child 110
c9a969db1469
--- a/Helpviewer/DownloadDialog.py	Sun Jan 31 16:15:16 2010 +0000
+++ b/Helpviewer/DownloadDialog.py	Sun Jan 31 17:11:22 2010 +0000
@@ -318,7 +318,6 @@
             return
         
         bytesTotal = self.progressBar.maximum()
-        running = not self.__downloadedSuccessfully()
         
         info = ""
         if self.__downloading():
@@ -382,15 +381,6 @@
         """
         return self.__stopButton.isEnabled()
     
-    def __downloadedSuccessfully(self):
-        """
-        Private method to determine the download status.
-        
-        @return download status (boolean)
-        """
-        return (not self.__stopButton.isEnabled() and \
-                not self.__tryAgainButton.isEnabled())
-    
     def __finished(self):
         """
         Private slot to handle the download finished.

eric ide

mercurial