37 self.siteLabel.setText(baseUrl) |
37 self.siteLabel.setText(baseUrl) |
38 |
38 |
39 if not Preferences.getHelp("VirusTotalEnabled") or \ |
39 if not Preferences.getHelp("VirusTotalEnabled") or \ |
40 Preferences.getHelp("VirusTotalServiceKey") == "": |
40 Preferences.getHelp("VirusTotalServiceKey") == "": |
41 self.scanButton.setHidden(True) |
41 self.scanButton.setHidden(True) |
|
42 |
|
43 msh = self.minimumSizeHint() |
|
44 self.resize(max(self.width(), msh.width()), msh.height()) |
42 |
45 |
43 def getAction(self): |
46 def getAction(self): |
44 """ |
47 """ |
45 Public method to get the selected action. |
48 Public method to get the selected action. |
46 |
49 |