112 parent) |
112 parent) |
113 permButton = msgBox.addButton(self.trUtf8("&Permanent accept"), |
113 permButton = msgBox.addButton(self.trUtf8("&Permanent accept"), |
114 QMessageBox.AcceptRole) |
114 QMessageBox.AcceptRole) |
115 tempButton = msgBox.addButton(self.trUtf8("&Temporary accept"), |
115 tempButton = msgBox.addButton(self.trUtf8("&Temporary accept"), |
116 QMessageBox.AcceptRole) |
116 QMessageBox.AcceptRole) |
117 rejectButton = msgBox.addButton(self.trUtf8("&Reject"), |
117 msgBox.addButton(self.trUtf8("&Reject"), QMessageBox.RejectRole) |
118 QMessageBox.RejectRole) |
|
119 msgBox.exec_() |
118 msgBox.exec_() |
120 if cursor is not None: |
119 if cursor is not None: |
121 QApplication.setOverrideCursor(cursor) |
120 QApplication.setOverrideCursor(cursor) |
122 if msgBox.clickedButton() == permButton: |
121 if msgBox.clickedButton() == permButton: |
123 return (True, trust_dict["failures"], True) |
122 return (True, trust_dict["failures"], True) |