summaryrefslogtreecommitdiff
path: root/kde
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-06-17 00:16:37 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-06-17 00:16:37 +0200
commitc05dae8dfa1d6f9f48921a99323be6870fc4b521 (patch)
tree42e413c7833fc9b6d6c292fb9283afb678c61967 /kde
parentb3bbbbcb41731803920ad58347e25bcc6d71962f (diff)
downloadzcomp-c05dae8dfa1d6f9f48921a99323be6870fc4b521.tar.gz
zcomp-c05dae8dfa1d6f9f48921a99323be6870fc4b521.tar.bz2
Update switcher text background correctly.
Diffstat (limited to 'kde')
-rw-r--r--kde/window-decorator-kde4/switcher.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/kde/window-decorator-kde4/switcher.cpp b/kde/window-decorator-kde4/switcher.cpp
index ffe0c23..2978e69 100644
--- a/kde/window-decorator-kde4/switcher.cpp
+++ b/kde/window-decorator-kde4/switcher.cpp
@@ -167,9 +167,10 @@ KWD::Switcher::update ()
p.setCompositionMode (QPainter::CompositionMode_Source);
- mBackground->paint (&p, QRect (mBorder.left, mBorder.top +
+
+ mBackground->paintPanel (&p, QRect (mBorder.left, mBorder.top +
mGeometry.height () + 5, mGeometry.width (),
- fm.height ()), "center");
+ fm.height ()));
p.setFont (font);
p.setPen (Plasma::Theme::defaultTheme ()->color(Plasma::Theme::TextColor));