Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit ff591535 authored by Pedro Reis's avatar Pedro Reis

Added comment

parent ab185ab0
......@@ -231,6 +231,7 @@ void KisColorSelector::paintEvent(QPaintEvent* e)
QPainter p(this);
KConfigGroup cfg = KSharedConfig::openConfig()->group("advancedColorSelector");
// If checked, use theme colors for background of selector
if (cfg.readEntry("useBackgroundColorForSelector", true)) {
p.fillRect(0,0,width(), height(), cfg.readEntry("colorEditorBackground", qApp->palette().window().color()));
} else {
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