aboutsummaryrefslogtreecommitdiffstats
path: root/softwarecontext/glyphnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'softwarecontext/glyphnode.cpp')
-rw-r--r--softwarecontext/glyphnode.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/softwarecontext/glyphnode.cpp b/softwarecontext/glyphnode.cpp
index ecb8b3f6dc..eae8b626cb 100644
--- a/softwarecontext/glyphnode.cpp
+++ b/softwarecontext/glyphnode.cpp
@@ -64,9 +64,6 @@ void GlyphNode::update()
void GlyphNode::paint(QPainter *painter)
{
- QPen originalPen = painter->pen();
- QBrush originalBrush = painter->brush();
-
painter->setBrush(QBrush());
QPointF pos = m_position - QPointF(0, m_glyphRun.rawFont().ascent());
@@ -91,7 +88,4 @@ void GlyphNode::paint(QPainter *painter)
painter->setPen(m_color);
painter->drawGlyphRun(pos, m_glyphRun);
-
- painter->setPen(originalPen);
- painter->setBrush(originalBrush);
}