Commit 767dcf15 authored by Scott Petrovic's avatar Scott Petrovic

Revert "Make the color selector background use the base theme color instead of neutral gray"

This reverts commit 15a092f7.
parent 15a092f7
......@@ -25,7 +25,6 @@
#include <QMouseEvent>
#include <QTimer>
#include <QPushButton>
#include <QApplication>
#include <kconfig.h>
#include <kconfiggroup.h>
......@@ -168,9 +167,7 @@ void KisColorSelector::paintEvent(QPaintEvent* e)
{
Q_UNUSED(e);
QPainter p(this);
QColor bgColor = qApp->palette().color(QPalette::Base);
p.fillRect(0,0,width(),height(),bgColor);
p.fillRect(0,0,width(),height(),QColor(128,128,128));
p.setRenderHint(QPainter::Antialiasing);
m_mainComponent->paintEvent(&p);
......
......@@ -18,7 +18,6 @@
#include "kis_color_selector_combo_box.h"
#include <QGridLayout>
#include <QPainter>
#include <QApplication>
#include "kis_color_selector.h"
#include "kis_canvas2.h"
......@@ -128,8 +127,7 @@ protected:
void paintEvent(QPaintEvent *) override
{
QPainter painter(this);
QColor bgColor = qApp->palette().color(QPalette::Base);
painter.fillRect(0,0,width(), height(), bgColor);
painter.fillRect(0,0,width(), height(), QColor(128,128,128));
painter.fillRect(highlightArea, palette().highlight());
}
......
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