disable visual feedback for hovering of lineedit as a workaround for 290111

CCBUG: 290111
This commit is contained in:
Nick Shaforostoff 2012-03-12 11:45:11 +02:00
parent 3c62cc7881
commit 816efa3b16

View File

@ -64,10 +64,12 @@ LineEdit::LineEdit(QGraphicsWidget *parent)
d->background->setImagePath("widgets/lineedit");
d->background->setCacheAllRenderedFrames(true);
#if 0 // causes bug 290111
FocusIndicator *indicator = new FocusIndicator(this, d->background);
if (d->background->hasElement("hint-focus-over-base")) {
indicator->setFlag(QGraphicsItem::ItemStacksBehindParent, false);
}
#endif
setNativeWidget(new KLineEdit);
}