src/canvas.cpp

changeset 1380
bc799b965418
parent 1376
83dd6cbd7f1a
child 1385
2f18c0da749d
child 1390
3eace926af7f
--- a/src/canvas.cpp	Wed Apr 04 11:24:37 2018 +0300
+++ b/src/canvas.cpp	Wed Apr 04 11:41:26 2018 +0300
@@ -59,22 +59,6 @@
 		QPoint renderPoint {4, height() - 4 - metrics.height() - metrics.descent()};
 		painter.drawText(renderPoint, format("△ %1", largeNumberRep(m_document.triangleCount())));
 	}
-
-	// Message log
-	if (m_window->messageLog())
-	{
-		int y = 0;
-		int margin = 2;
-		QColor penColor = textPen().color();
-
-		for (const MessageManager::Line& line : m_window->messageLog()->getLines())
-		{
-			penColor.setAlphaF(line.alpha);
-			painter.setPen(penColor);
-			painter.drawText(QPoint {margin, y + margin + metrics.ascent()}, line.text);
-			y += metrics.height();
-		}
-	}
 }
 
 /*

mercurial