be invisible when it's first created

svn path=/trunk/KDE/kdelibs/; revision=1079119
This commit is contained in:
Marco Martin 2010-01-23 17:34:50 +00:00
parent 157711c581
commit 3403fea2ca

View File

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