summaryrefslogtreecommitdiff
path: root/examples/triage/byte.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/triage/byte.cpp')
-rw-r--r--examples/triage/byte.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/triage/byte.cpp b/examples/triage/byte.cpp
index b6318d1e..75bf7474 100644
--- a/examples/triage/byte.cpp
+++ b/examples/triage/byte.cpp
@@ -651,8 +651,8 @@ void ByteView::paintEvent(QPaintEvent* event)
break;
if (m_lines[y + m_topLine].separator)
{
- m_render.drawLinearDisassemblyLineBackground(
- p, NonContiguousSeparatorLineType, QRect(0, 2 + y * charHeight, event->rect().width(), charHeight), 0);
+ QRect lineRect = QRect(0, 2 + y * charHeight, event->rect().width(), charHeight);
+ m_render.drawLinearDisassemblyLineBackground(p, NonContiguousSeparatorLineType, lineRect, lineRect, 0);
continue;
}