mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 08:37:26 +00:00
Fix crash in StringsWidget::on_actionX_refs_triggered. (#1450)
Qt::WA_DeleteOnClose is set for a dialog that is allocated on the stack. This causes Qt to attempt to delete the object when the XrefsDialog calls its close method.
This commit is contained in:
parent
c6866df71e
commit
2fee3dabfb
@ -273,7 +273,6 @@ void StringsWidget::on_actionX_refs_triggered()
|
||||
|
||||
XrefsDialog x(nullptr);
|
||||
x.fillRefsForAddress(str.vaddr, RAddressString(str.vaddr), false);
|
||||
x.setAttribute(Qt::WA_DeleteOnClose);
|
||||
x.exec();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user