* ./solstice:
- Change: In GraphicSolsticeEngine, uses the new darken mechanism.
This commit is contained in:
parent
3c9d064fd8
commit
1b6b13cf28
|
@ -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()) );
|
||||
|
|
Loading…
Reference in New Issue