From f76a34094ba6d0190ad369f7b11fba01570020ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0pirk?= Date: Fri, 8 Nov 2024 11:00:47 +0100 Subject: [PATCH] remove unwanted label grid from empty graph --- libshvvisu/src/timeline/graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libshvvisu/src/timeline/graph.cpp b/libshvvisu/src/timeline/graph.cpp index 8b1770c7..a6f19847 100644 --- a/libshvvisu/src/timeline/graph.cpp +++ b/libshvvisu/src/timeline/graph.cpp @@ -1496,7 +1496,7 @@ void Graph::drawGrid(QPainter *painter, int channel) const GraphChannel *ch = channelAt(channel); const XAxis &x_axis = m_state.xAxis; if(!x_axis.isValid()) { - drawRectText(painter, ch->m_layout.graphAreaRect, "grid", m_style.font(), ch->m_effectiveStyle.colorGrid()); + // drawRectText(painter, ch->m_layout.graphAreaRect, "grid", m_style.font(), ch->m_effectiveStyle.colorGrid()); return; } QColor gc = ch->m_effectiveStyle.colorGrid();