From 1b6b13cf28dba0cc66b8786a7499f06a166adee9 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Thu, 30 Dec 2010 18:42:36 +0000 Subject: [PATCH] * ./solstice: - Change: In GraphicSolsticeEngine, uses the new darken mechanism. --- solstice/src/GraphicSolsticeEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solstice/src/GraphicSolsticeEngine.cpp b/solstice/src/GraphicSolsticeEngine.cpp index ddb401e5..540632f3 100644 --- a/solstice/src/GraphicSolsticeEngine.cpp +++ b/solstice/src/GraphicSolsticeEngine.cpp @@ -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()) );