be sure be sure we're using the !base" prefix

svn path=/trunk/KDE/kdelibs/; revision=1027242
This commit is contained in:
Marco Martin 2009-09-23 16:37:47 +00:00
parent 6c4ec4f091
commit d733458a0d

View File

@ -197,6 +197,7 @@ void Style::drawComplexControl(ComplexControl control,
case CC_SpinBox: {
d->createTextBox();
d->textBox->setElementPrefix("base");
d->textBox->resizeFrame(option->rect.size());
d->textBox->paintFrame(painter);
@ -251,6 +252,7 @@ void Style::drawComplexControl(ComplexControl control,
qApp->style()->drawComplexControl(control, option, painter, widget);
} else {
d->createTextBox();
d->textBox->setElementPrefix("base");
d->textBox->resizeFrame(option->rect.size());
d->textBox->paintFrame(painter);