changeset 421 | 5522d1da7e37 |
parent 408 | c2a05fa925a1 |
child 428 | 9ae68208e2ff |
1.1 --- a/headingobj.cpp Wed Jan 10 13:26:12 2007 +0000 1.2 +++ b/headingobj.cpp Tue Jan 23 11:50:53 2007 +0000 1.3 @@ -92,13 +92,10 @@ 1.4 1.5 QGraphicsTextItem* HeadingObj::newLine(QString s) 1.6 { 1.7 - QGraphicsTextItem *t=scene->addText(""); 1.8 + QGraphicsTextItem *t=scene->addText(s); 1.9 t->setFont (font); 1.10 t->setZValue(Z_TEXT); 1.11 t->setDefaultTextColor(color); 1.12 - t->setPlainText(s); 1.13 - //t->setTextFlags(Qt::AlignLeft); 1.14 - t->show(); 1.15 return t; 1.16 } 1.17