Commit 223ecc9e authored by Steve Borho's avatar Steve Borho
Browse files

commit: connect DetailDialog's finished signal to deleteLater

This is our standard 'waving a dead chicken' solution to hard-crashes
in the garbage collector. I regularly see crashes after using the QNew
feature.
parent 940dd10d7e87
......@@ -205,6 +205,7 @@ class CommitWidget(QWidget):
def details(self):
dlg = DetailsDialog(self.opts, self.userhist, self)
dlg.finished.connect(dlg.deleteLater)
dlg.setWindowFlags(Qt.Sheet)
dlg.setWindowModality(Qt.WindowModal)
if dlg.exec_() == QDialog.Accepted:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment