backport opacity fix

svn path=/branches/KDE/4.4/kdelibs/; revision=1079120
This commit is contained in:
Marco Martin 2010-01-23 17:36:05 +00:00
parent a1413731fc
commit 1fda1d9cbe

View File

@ -47,6 +47,7 @@ FocusIndicator::FocusIndicator(QGraphicsWidget *parent, QString widget)
m_fade->setTargetWidget(this); m_fade->setTargetWidget(this);
m_fade->setProperty("startOpacity", 0.0); m_fade->setProperty("startOpacity", 0.0);
m_fade->setProperty("targetOpacity", 1.0); m_fade->setProperty("targetOpacity", 1.0);
setOpacity(0);
parent->installEventFilter(this); parent->installEventFilter(this);
connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), SLOT(syncGeometry())); connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), SLOT(syncGeometry()));