Helpviewer/Download/DownloadItem.py

branch
6_0_x
changeset 4329
399e14805a5c
parent 4022
f5f42921717e
child 4421
c6feadf410a4
--- a/Helpviewer/Download/DownloadItem.py	Fri Jul 24 18:28:13 2015 +0200
+++ b/Helpviewer/Download/DownloadItem.py	Fri Jul 24 18:44:45 2015 +0200
@@ -197,18 +197,18 @@
                 self.__canceledFileSelect = True
                 return
             
-            if dlg.getAction() == "scan":
-                self.__mainWindow.requestVirusTotalScan(url)
-                
-                self.progressBar.setVisible(False)
-                self.__reply.close()
-                self.on_stopButton_clicked()
-                self.filenameLabel.setText(
-                    self.tr("VirusTotal scan scheduled: {0}").format(
-                        QFileInfo(defaultFileName).fileName()))
-                self.__canceledFileSelect = True
-                return
-            
+##            if dlg.getAction() == "scan":
+##                self.__mainWindow.requestVirusTotalScan(url)
+##                
+##                self.progressBar.setVisible(False)
+##                self.__reply.close()
+##                self.on_stopButton_clicked()
+##                self.filenameLabel.setText(
+##                    self.tr("VirusTotal scan scheduled: {0}").format(
+##                        QFileInfo(defaultFileName).fileName()))
+##                self.__canceledFileSelect = True
+##                return
+##            
             self.__autoOpen = dlg.getAction() == "open"
             if PYQT_VERSION_STR >= "5.0.0":
                 from PyQt5.QtCore import QStandardPaths

eric ide

mercurial