diff -r 6420f6f8d9ac -r 399e14805a5c Helpviewer/HelpBrowserWV.py --- a/Helpviewer/HelpBrowserWV.py Fri Jul 24 18:28:13 2015 +0200 +++ b/Helpviewer/HelpBrowserWV.py Fri Jul 24 18:44:45 2015 +0200 @@ -1107,12 +1107,12 @@ UI.PixmapCache.getIcon("mailSend.png"), self.tr("Send Link"), self.__sendLink).setData(hit.linkUrl()) - if Preferences.getHelp("VirusTotalEnabled") and \ - Preferences.getHelp("VirusTotalServiceKey") != "": - menu.addAction( - UI.PixmapCache.getIcon("virustotal.png"), - self.tr("Scan Link with VirusTotal"), - self.__virusTotal).setData(hit.linkUrl()) +## if Preferences.getHelp("VirusTotalEnabled") and \ +## Preferences.getHelp("VirusTotalServiceKey") != "": +## menu.addAction( +## UI.PixmapCache.getIcon("virustotal.png"), +## self.tr("Scan Link with VirusTotal"), +## self.__virusTotal).setData(hit.linkUrl()) if not hit.imageUrl().isEmpty(): if not menu.isEmpty(): @@ -1140,12 +1140,12 @@ UI.PixmapCache.getIcon("adBlockPlus.png"), self.tr("Block Image"), self.__blockImage)\ .setData(hit.imageUrl().toString()) - if Preferences.getHelp("VirusTotalEnabled") and \ - Preferences.getHelp("VirusTotalServiceKey") != "": - menu.addAction( - UI.PixmapCache.getIcon("virustotal.png"), - self.tr("Scan Image with VirusTotal"), - self.__virusTotal).setData(hit.imageUrl()) +## if Preferences.getHelp("VirusTotalEnabled") and \ +## Preferences.getHelp("VirusTotalServiceKey") != "": +## menu.addAction( +## UI.PixmapCache.getIcon("virustotal.png"), +## self.tr("Scan Image with VirusTotal"), +## self.__virusTotal).setData(hit.imageUrl()) element = hit.element() if not element.isNull(): @@ -1477,14 +1477,14 @@ else: self.__clickedMediaElement.evaluateJavaScript("this.muted = true") - def __virusTotal(self): - """ - Private slot to scan the selected URL with VirusTotal. - """ - act = self.sender() - url = act.data() - self.mw.requestVirusTotalScan(url) - +## def __virusTotal(self): +## """ +## Private slot to scan the selected URL with VirusTotal. +## """ +## act = self.sender() +## url = act.data() +## self.mw.requestVirusTotalScan(url) +## def __searchRequested(self, act): """ Private slot to search for some text with a selected search engine.