From 49c2b3fccbbf606f4a0fe52a80e178e160f1e14e Mon Sep 17 00:00:00 2001 From: Bill Egert Date: Thu, 21 Feb 2008 02:47:17 +0000 Subject: [PATCH] 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 --- src/EditProfileDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EditProfileDialog.cpp b/src/EditProfileDialog.cpp index 80b6a5011..c3aa7c623 100644 --- a/src/EditProfileDialog.cpp +++ b/src/EditProfileDialog.cpp @@ -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;