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