Commit 6e082abf authored by Scott Petrovic's avatar Scott Petrovic Committed by Scott Petrovic
Browse files

update the grids display on the curves widget so they are a bit more subtle

Signed-off-by: Scott Petrovic's avatarScott Petrovic <>
parent edc33106
......@@ -19,6 +19,8 @@
#include <kis_cubic_curve.h>
#include <QApplication>
#include <QPalette>
enum enumState {
......@@ -202,7 +204,9 @@ void KisCurveWidget::Private::drawGrid(QPainter &p, int wWidth, int wHeight)
* That is not mandatory but desirable
p.setPen(QPen(Qt::gray, 1, Qt::SolidLine));
QPalette appPalette = QApplication::palette();
p.setPen(QPen(appPalette.color(QPalette::Background), 1, Qt::SolidLine));
p.drawLine(div4_round(wWidth), 0, div4_round(wWidth), wHeight);
p.drawLine(div2_round(wWidth), 0, div2_round(wWidth), wHeight);
p.drawLine(div4_round(3*wWidth), 0, div4_round(3*wWidth), wHeight);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment