mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +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;
|
continue;
|
||||||
}
|
}
|
||||||
structureOffsetMenu->addAction("[" + memBaseReg + " + " + ty->path + "]")
|
structureOffsetMenu->addAction("[" + memBaseReg + " + " + ty->path + "]")
|
||||||
->setData(ty->path);
|
->setData(QString(ty->path));
|
||||||
}
|
}
|
||||||
rz_list_free(typeoffs);
|
rz_list_free(typeoffs);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user