1
--- qtmmlwidget.cpp.org 2007-01-15 22:34:37.000000000 +0100
2
+++ qtmmlwidget.cpp 2007-01-15 22:34:37.000000000 +0100
4
void MmlNode::paint(QPainter *p)
7
- p->setViewport(deviceRect());
8
- p->setWindow(myRect());
12
QColor bg = background();
17
- p->drawText(0, fm.strikeOutPos(), m_text);
18
+ QPoint dPos = devicePoint(relOrigin());
19
+ p->drawText(dPos.x(), dPos.y() + fm.strikeOutPos(), m_text);