From: Carsten Niehaus Date: Wed, 15 Jun 2005 16:28:32 +0000 (+0000) Subject: Fix a color-bug X-Git-Tag: v3.80.2~300^2~104 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=374c5f75c951e44f939b791d63ad1b875af7efe8;p=libqmvoc.git Fix a color-bug svn path=/trunk/KDE/kdeedu/kalzium/src/element.cpp; revision=425812 --- diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp index 9234612..53534b4 100644 --- a/kalzium/src/element.cpp +++ b/kalzium/src/element.cpp @@ -302,6 +302,7 @@ void Element::drawCrystalstructure( QPainter* p ) color = Qt::white; name = QString::null; } + setElementColor( color ); p->setPen( color ); p->fillRect( X, Y,ELEMENTSIZE,ELEMENTSIZE, color );