uuh, whi that code was commented out?

svn path=/trunk/KDE/kdelibs/; revision=1015529
This commit is contained in:
Marco Martin 2009-08-25 18:54:42 +00:00
parent 5b435bae2b
commit f21674ae8b

View File

@ -146,7 +146,7 @@ void Style::drawComplexControl(ComplexControl control,
slider.adjust(1, 0, -1, 0);
}
/* if (scrollOption && scrollOption->orientation == Qt::Horizontal && d->scrollbar->hasElement("background-horizontal-center")) {
if (scrollOption && scrollOption->orientation == Qt::Horizontal && d->scrollbar->hasElement("background-horizontal-center")) {
d->scrollbar->setElementPrefix("background-horizontal");
} else if (scrollOption && scrollOption->orientation == Qt::Vertical && d->scrollbar->hasElement("background-vertical-center")) {
d->scrollbar->setElementPrefix("background-vertical");
@ -154,7 +154,7 @@ void Style::drawComplexControl(ComplexControl control,
d->scrollbar->setElementPrefix("background");
}
d->scrollbar->resizeFrame(option->rect.size());
d->scrollbar->paintFrame(painter);*/
d->scrollbar->paintFrame(painter);
if (sunken && scrollOption && scrollOption->activeSubControls & SC_ScrollBarSlider) {
d->scrollbar->setElementPrefix("sunken-slider");