No longer use Obsolete Members for QPainter.

drawRoundRect() => drawRoundedRect()  (This function was introduced in Qt 4.4)
matrix() => worldTransform() 
setMatrix() => setWorldTransform()

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=776270
This commit is contained in:
Bill Egert
2008-02-17 18:36:37 +00:00
parent f8ce3701f7
commit 8bf323e09b
2 changed files with 2 additions and 2 deletions

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->drawRoundRect( backgroundRect , 4 , 30 );
painter->drawRoundedRect( backgroundRect , 4.0 , 30.0 );
//const bool isChecked = index.data(Qt::CheckStateRole) == Qt::Checked;
const bool isSelected = option.state & QStyle::State_Selected;