immediately hide the focusindicator if the theme follows native style
svn path=/trunk/KDE/kdelibs/; revision=1216376
This commit is contained in:
parent
312bdcf909
commit
dcd645696b
@ -53,6 +53,7 @@ FocusIndicator::FocusIndicator(QGraphicsWidget *parent, FrameSvg *svg)
|
|||||||
|
|
||||||
void FocusIndicator::init(QGraphicsWidget *parent)
|
void FocusIndicator::init(QGraphicsWidget *parent)
|
||||||
{
|
{
|
||||||
|
setVisible(!Theme::defaultTheme()->useNativeWidgetStyle());
|
||||||
setFlag(QGraphicsItem::ItemStacksBehindParent);
|
setFlag(QGraphicsItem::ItemStacksBehindParent);
|
||||||
setAcceptsHoverEvents(true);
|
setAcceptsHoverEvents(true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user