Commit 00d208c1 authored by Scott Petrovic's avatar Scott Petrovic
Browse files

update the brightness/contrast filter to have a themed background

parent 1e2bb9e6
......@@ -231,8 +231,11 @@ KisBrightnessContrastConfigWidget::KisBrightnessContrastConfigWidget(QWidget * p
KoHistogramProducer *producer = new KoGenericLabHistogramProducer();
KisHistogram histogram(dev, dev->exactBounds(), producer, LINEAR);
QPalette appPalette = QApplication::palette();
QPixmap pix(256, height);
pix.fill();
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