diff --git a/widgets/combobox.cpp b/widgets/combobox.cpp index 4b4fa56d1..968b5bcfa 100644 --- a/widgets/combobox.cpp +++ b/widgets/combobox.cpp @@ -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())); } diff --git a/widgets/lineedit.cpp b/widgets/lineedit.cpp index a86d8c9fd..3a531d376 100644 --- a/widgets/lineedit.cpp +++ b/widgets/lineedit.cpp @@ -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())); }