Merge remote-tracking branch 'origin/9.0' into 10.0

Change-Id: Ifbb14e33104b39de8ca2e1495301a53e71496ef9
This commit is contained in:
Eike Ziller
2023-04-24 08:10:39 +02:00
4 changed files with 5 additions and 5 deletions

View File

@@ -155,7 +155,7 @@ void FunctionGraphicsItem::paint(QPainter *painter,
painter->save();
QRectF rect = this->rect();
const QColor &color = brush().color();
const QColor color = brush().color();
if (option->state & QStyle::State_Selected) {
QLinearGradient gradient(0, 0, rect.width(), 0);
gradient.setColorAt(0, color.darker(100));