--compilerWarnings;
svn path=/trunk/KDE/kdelibs/; revision=1130580
This commit is contained in:
parent
3efaa0c487
commit
6db772c0db
@ -124,10 +124,8 @@ ComboBox::ComboBox(QGraphicsWidget *parent)
|
|||||||
|
|
||||||
d->style = Style::sharedStyle();
|
d->style = Style::sharedStyle();
|
||||||
|
|
||||||
|
new FocusIndicator(this, "widgets/button");
|
||||||
setNativeWidget(new KComboBox);
|
setNativeWidget(new KComboBox);
|
||||||
|
|
||||||
FocusIndicator *focusIndicator = new FocusIndicator(this, "widgets/button");
|
|
||||||
|
|
||||||
connect(Theme::defaultTheme(), SIGNAL(themeChanged()), SLOT(syncBorders()));
|
connect(Theme::defaultTheme(), SIGNAL(themeChanged()), SLOT(syncBorders()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,10 +81,8 @@ LineEdit::LineEdit(QGraphicsWidget *parent)
|
|||||||
d->background->setImagePath("widgets/lineedit");
|
d->background->setImagePath("widgets/lineedit");
|
||||||
d->background->setCacheAllRenderedFrames(true);
|
d->background->setCacheAllRenderedFrames(true);
|
||||||
|
|
||||||
FocusIndicator *focusIndicator = new FocusIndicator(this, "widgets/lineedit");
|
new FocusIndicator(this, "widgets/lineedit");
|
||||||
|
|
||||||
setNativeWidget(new KLineEdit);
|
setNativeWidget(new KLineEdit);
|
||||||
|
|
||||||
connect(Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(setPalette()));
|
connect(Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(setPalette()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user