--- 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