This commit is contained in:
Sebastian Kügler 2014-02-06 04:00:39 +01:00
parent 15e4d93102
commit 585aa4998a
2 changed files with 0 additions and 3 deletions

View File

@ -537,9 +537,7 @@ void ThemePrivate::processContrastSettings(KConfigBase* metadata)
qreal _saturation = 1.7;
// If we're using a dark background color, darken the background
qDebug() << "CON grey <<<<< " << qGray(color(Plasma::Theme::BackgroundColor).rgb()) << themeName << color(Plasma::Theme::BackgroundColor);
if (qGray(color(Plasma::Theme::BackgroundColor).rgb()) < 127) {
qDebug() << "CON Dark! <<<<< " << qGray(color(Plasma::Theme::BackgroundColor).rgb());
_contrast = 0.45;
_intensity = 0.45;
_saturation = 1.7;

View File

@ -601,7 +601,6 @@ void PanelView::updateStruts()
void PanelView::themeChanged()
{
qDebug() << "CON themeChanged ... " << m_theme.backgroundContrastEnabled() << " : " << m_theme.backgroundContrast() << m_theme.backgroundIntensity() << m_theme.backgroundSaturation();
//TODO: how to take the shape from the framesvg?
KWindowEffects::enableBlurBehind(winId(), true);
KWindowEffects::enableBackgroundContrast(winId(), m_theme.backgroundContrastEnabled(),