forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/9.0' into 10.0
Change-Id: Ifbb14e33104b39de8ca2e1495301a53e71496ef9
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user