Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/widgets/DisassemblerGraphView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ void DisassemblerGraphView::prepareGraphNode(GraphBlock &block)
lw += mFontMetrics->width(part.text);
if (lw > width)
width = lw;
height += 1;
}
for (Instr &instr : db.instrs) {
for (auto &line : instr.text.lines) {
Expand Down Expand Up @@ -469,11 +468,6 @@ void DisassemblerGraphView::drawBlock(QPainter &p, GraphView::GraphBlock &block,
// Render node text
auto x = block.x + padding;
int y = block.y + getTextOffset(0).y();
for (auto &line : db.header_text.lines) {
RichTextPainter::paintRichText<qreal>(&p, x, y, block.width, charHeight, 0, line,
mFontMetrics.get());
y += charHeight;
}

auto bih = Core()->getBIHighlighter();
for (const Instr &instr : db.instrs) {
Expand Down
1 change: 0 additions & 1 deletion src/widgets/DisassemblerGraphView.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ class DisassemblerGraphView : public CutterGraphView

void loadCurrentGraph();
QString windowTitle;

int getWidth() { return width; }
int getHeight() { return height; }
std::unordered_map<ut64, GraphBlock> getBlocks() { return blocks; }
Expand Down