[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdebase/workspace/plasma/applets/battery
From: Sebastian Kügler <sebas () kde ! org>
Date: 2009-04-09 22:23:50
Message-ID: 1239315830.782067.20025.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 951716 by sebas:
Remove the shadow
It's not in line with how other applets look, and just adds noise
M +0 -7 battery.cpp
--- branches/KDE/4.2/kdebase/workspace/plasma/applets/battery/battery.cpp #951715:951716
@@ -818,13 +818,6 @@
m_theme->paint(p, scaleRectF(m_acAlpha, contentsRect), "AcAdapter");
}
- // For small FormFactors, we're drawing a shadow
- if (formFactor() == Plasma::Vertical ||
- formFactor() == Plasma::Horizontal) {
- if (plugState) {
- m_theme->paint(p, contentsRect, "Shadow");
- }
- }
if (plugState && m_theme->hasElement("Overlay")) {
m_theme->paint(p, scaleRectF(m_batteryAlpha, contentsRect), "Overlay");
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic