From 93e861eaf5544e2ac78afb83f1a9f008263d219e Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Sun, 12 Jun 2005 10:29:23 +0000 Subject: [PATCH] * two more points in the TODO, one fixed * fix the black overviewwidget svn path=/trunk/KDE/kdeedu/kalzium/src/element.cpp; revision=424559 --- kalzium/src/element.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp index ffbd338..06a4b06 100644 --- a/kalzium/src/element.cpp +++ b/kalzium/src/element.cpp @@ -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 -- 2.47.3