mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
AK/xref-dialog-fix (#1384)
This commit is contained in:
parent
78308c7209
commit
e709a35723
@ -716,7 +716,7 @@ void DisassemblyContextMenu::on_actionSetFunctionVarTypes_triggered()
|
||||
|
||||
void DisassemblyContextMenu::on_actionXRefs_triggered()
|
||||
{
|
||||
XrefsDialog dialog(this);
|
||||
XrefsDialog dialog(nullptr);
|
||||
dialog.fillRefsForAddress(offset, RAddressString(offset), false);
|
||||
dialog.exec();
|
||||
}
|
||||
|
@ -655,7 +655,7 @@ void FunctionsWidget::on_action_References_triggered()
|
||||
// Get selected item in functions tree view
|
||||
FunctionDescription function = ui->functionsTreeView->selectionModel()->currentIndex().data(
|
||||
FunctionModel::FunctionDescriptionRole).value<FunctionDescription>();
|
||||
XrefsDialog x(this);
|
||||
XrefsDialog x(nullptr);
|
||||
x.fillRefsForAddress(function.offset, function.name, true);
|
||||
x.exec();
|
||||
}
|
||||
|
@ -271,7 +271,7 @@ void StringsWidget::on_actionX_refs_triggered()
|
||||
StringDescription str = ui->stringsTreeView->selectionModel()->currentIndex().data(
|
||||
StringsModel::StringDescriptionRole).value<StringDescription>();
|
||||
|
||||
XrefsDialog x(this);
|
||||
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