immediately hide the focusindicator if the theme follows native style

svn path=/trunk/KDE/kdelibs/; revision=1216376
This commit is contained in:
Marco Martin 2011-01-22 22:02:23 +00:00
parent 312bdcf909
commit dcd645696b

View File

@ -53,6 +53,7 @@ FocusIndicator::FocusIndicator(QGraphicsWidget *parent, FrameSvg *svg)
void FocusIndicator::init(QGraphicsWidget *parent)
{
setVisible(!Theme::defaultTheme()->useNativeWidgetStyle());
setFlag(QGraphicsItem::ItemStacksBehindParent);
setAcceptsHoverEvents(true);