Commit e87f37d7 authored by Scott Petrovic's avatar Scott Petrovic Committed by Scott Petrovic
Browse files

make the background for the color adjustments layer use the application base...


make the background for the color adjustments layer use the application base palette like the other curve widgets
Signed-off-by: Scott Petrovic's avatarScott Petrovic <scottpetrovic@gmail.com>
parent 4e1b6394
......@@ -170,7 +170,11 @@ inline QPixmap KisPerChannelConfigWidget::getHistogram()
int i;
int height = 256;
QPixmap pix(256, height);
pix.fill();
QPalette appPalette = QApplication::palette();
pix.fill(QColor(appPalette.color(QPalette::Base)));
QPainter p(&pix);
p.setPen(QPen(Qt::gray, 1, Qt::SolidLine));
......
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