diff -r c2a05fa925a1 -r fb74fa7bfb4c headingobj.cpp --- a/headingobj.cpp Fri Dec 08 20:18:56 2006 +0000 +++ b/headingobj.cpp Mon Feb 12 09:28:47 2007 +0000 @@ -92,13 +92,10 @@ QGraphicsTextItem* HeadingObj::newLine(QString s) { - QGraphicsTextItem *t=scene->addText(""); + QGraphicsTextItem *t=scene->addText(s); t->setFont (font); t->setZValue(Z_TEXT); t->setDefaultTextColor(color); - t->setPlainText(s); - //t->setTextFlags(Qt::AlignLeft); - t->show(); return t; }