]> Git trees. - libqmvoc.git/commitdiff
* two more points in the TODO, one fixed
authorCarsten Niehaus <cniehaus@gmx.de>
Sun, 12 Jun 2005 10:29:23 +0000 (10:29 +0000)
committerCarsten Niehaus <cniehaus@gmx.de>
Sun, 12 Jun 2005 10:29:23 +0000 (10:29 +0000)
* fix the black overviewwidget

svn path=/trunk/KDE/kdeedu/kalzium/src/element.cpp; revision=424559

kalzium/src/element.cpp

index ffbd33838485f9b4ae2495614077e6bddb604864..06a4b0610edc4d31ad106628cb4aa029dbd301eb 100644 (file)
@@ -401,6 +401,10 @@ QColor Element::currentColor( const double temp )
        
 void Element::drawGradient( QPainter* p, const QString& value, const QColor& c)
 {
+       //Set the elementColor to c to make the overviewwidget show
+       //the correct color
+       setElementColor( c );
+       
        //the height of a "line" inside an element
        int h_small = 15; //the size for the small units like elementnumber