share the FrameSvg with the focus indicator
svn path=/trunk/KDE/kdelibs/; revision=1178172
This commit is contained in:
parent
dc9d3f5e50
commit
938880140b
@ -124,7 +124,7 @@ ComboBox::ComboBox(QGraphicsWidget *parent)
|
||||
|
||||
d->style = Style::sharedStyle();
|
||||
|
||||
new FocusIndicator(this, "widgets/button");
|
||||
new FocusIndicator(this, d->background);
|
||||
setNativeWidget(new KComboBox);
|
||||
connect(d->background, SIGNAL(repaintNeeded()), SLOT(syncBorders()));
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ LineEdit::LineEdit(QGraphicsWidget *parent)
|
||||
d->background->setImagePath("widgets/lineedit");
|
||||
d->background->setCacheAllRenderedFrames(true);
|
||||
|
||||
new FocusIndicator(this, "widgets/lineedit");
|
||||
new FocusIndicator(this, d->background);
|
||||
setNativeWidget(new KLineEdit);
|
||||
connect(Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(setPalette()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user