[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdeui/colors
From: David Faure <faure () kde ! org>
Date: 2010-09-27 11:57:58
Message-ID: 20100927115758.B2F93AC857 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1180215 by dfaure:
Restore the default disabled palette (oops) while still not doing an inactive palette \
by default. This matches KColorCm::loadOptions() in the kcm.
M +2 -1 kcolorscheme.cpp
--- trunk/KDE/kdelibs/kdeui/colors/kcolorscheme.cpp #1180214:1180215
@@ -82,7 +82,8 @@
// NOTE: keep this in sync with kdebase/workspace/kcontrol/colors/colorscm.cpp
if(! group.isEmpty()) {
KConfigGroup cfg(config, group);
- if (cfg.readEntry("Enable", false)) {
+ const bool enabledByDefault = (state == QPalette::Disabled);
+ if (cfg.readEntry("Enable", enabledByDefault)) {
_effects[Intensity] = cfg.readEntry( "IntensityEffect",
(int)(state == QPalette::Disabled ? \
IntensityDarken : IntensityNoEffect)); _effects[Color] = cfg.readEntry( \
"ColorEffect",
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic