From: Carsten Niehaus Date: Wed, 8 Jun 2005 12:20:18 +0000 (+0000) Subject: * big update to the TODO-file X-Git-Tag: v3.80.2~300^2~117 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=105bdb42f3652c6dc529d659a0679ed959665433;p=libqmvoc.git * big update to the TODO-file - remove done items - add new todo-items - outline the future of Kalzium (standalone-release, KDE4, KDE35) * add a legend when the user is in the SOM mode svn path=/trunk/KDE/kdeedu/kalzium/src/element.cpp; revision=423449 --- diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp index ec892fe..7ea34a9 100644 --- a/kalzium/src/element.cpp +++ b/kalzium/src/element.cpp @@ -346,7 +346,7 @@ void Element::drawStateOfMatter( QPainter* p, double temp ) p->drawText( X,Y ,ELEMENTSIZE,h_small,Qt::AlignCenter, text ); text = QString::number( number() ); - p->drawText( X,( y )*ELEMENTSIZE - h_small, ELEMENTSIZE, h_small,Qt::AlignCenter, text ); + p->drawText( X,Y+ELEMENTSIZE-h_small , ELEMENTSIZE, h_small,Qt::AlignCenter, text ); p->setFont( symbol_font ); p->drawText( X,Y, ELEMENTSIZE,ELEMENTSIZE,Qt::AlignCenter, symbol() );