* ./solstice:

- Change: In GraphicSolsticeEngine, uses the new darken mechanism.
This commit is contained in:
Jean-Paul Chaput 2010-12-30 18:42:36 +00:00
parent 3c9d064fd8
commit 1b6b13cf28
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ namespace Solstice {
QPainter& painter = widget->getPainter();
QColor c = QColor(Qt::red);
c.setAlpha(100);
c = c.darker(widget->getDarkening());
c = DisplayStyle::darken(c,widget->getDarkening());
painter.setPen (QPen(c,15));
painter.setBrush(c);
painter.drawRect ( widget->dbuToDisplayRect(error->getBoundingBox()) );