As it turns out, drawRoundedRect() doesn't directly correlate to the defunct drawRoundRect().

Reverted.

Sorry Matthew Woehlke and others.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=777644
This commit is contained in:
Bill Egert
2008-02-21 02:47:17 +00:00
parent 9e19a21880
commit 49c2b3fccb

View File

@@ -1110,7 +1110,7 @@ void ColorSchemeViewDelegate::paint(QPainter* painter, const QStyleOptionViewIte
gradient.setColorAt( 0 , QColor(255,255,255,90) );
gradient.setColorAt( 1 , Qt::transparent );
painter->setBrush(gradient);
painter->drawRoundedRect( backgroundRect , 4.0 , 30.0 );
painter->drawRoundRect( backgroundRect , 4.0 , 30.0 );
//const bool isChecked = index.data(Qt::CheckStateRole) == Qt::Checked;
const bool isSelected = option.state & QStyle::State_Selected;