mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Fix r2 injection in FunctionsWidget tooltip (#1122)
This commit is contained in:
parent
d74d30e10f
commit
f917921d49
@ -230,7 +230,7 @@ QVariant FunctionModel::data(const QModelIndex &index, int role) const
|
||||
}
|
||||
}
|
||||
|
||||
const QStringList &summary = Core()->cmd("pdsf @ " + function.name).split("\n", QString::SkipEmptyParts);
|
||||
const QStringList &summary = Core()->cmd(QString("pdsf @ %1").arg(function.offset)).split("\n", QString::SkipEmptyParts);
|
||||
|
||||
const QFont &fnt = Config()->getFont();
|
||||
QFontMetrics fm{ fnt };
|
||||
|
Loading…
Reference in New Issue
Block a user