mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Store action data as QString. (#3073)
Fixes compilation error in newer QT versions, and also prevents risk of potential memory issues.
This commit is contained in:
parent
34018519de
commit
a82d4402f8
@ -524,7 +524,7 @@ void DisassemblyContextMenu::aboutToShowSlot()
|
||||
continue;
|
||||
}
|
||||
structureOffsetMenu->addAction("[" + memBaseReg + " + " + ty->path + "]")
|
||||
->setData(ty->path);
|
||||
->setData(QString(ty->path));
|
||||
}
|
||||
rz_list_free(typeoffs);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user