mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 04:16:12 +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();
|
const QFont &fnt = Config()->getFont();
|
||||||
QFontMetrics fm{ fnt };
|
QFontMetrics fm{ fnt };
|
||||||
|
Loading…
Reference in New Issue
Block a user