From b428350d1ea39ca1f1b2eb0bf5c7bda04aed27d6 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Fri, 13 Jun 2008 16:57:07 -0400 Subject: [PATCH] ENH: remove red blending. It didn't look good on some systems. --- Source/QtDialog/QCMakeCacheView.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx index 9a505c3625..31610d7dd4 100644 --- a/Source/QtDialog/QCMakeCacheView.cxx +++ b/Source/QtDialog/QCMakeCacheView.cxx @@ -281,8 +281,8 @@ void QCMakeCacheModel::setProperties(const QCMakePropertyList& props) new QStandardItem(key.isEmpty() ? tr("Ungrouped Entries") : key) ); parentItems.append(new QStandardItem()); - parentItems[0]->setData(QBrush(QColor(255,100,100,170)), Qt::BackgroundColorRole); - parentItems[1]->setData(QBrush(QColor(255,100,100,170)), Qt::BackgroundColorRole); + parentItems[0]->setData(QBrush(QColor(255,100,100)), Qt::BackgroundColorRole); + parentItems[1]->setData(QBrush(QColor(255,100,100)), Qt::BackgroundColorRole); root->appendRow(parentItems); foreach(QCMakeProperty prop, props) @@ -367,8 +367,8 @@ void QCMakeCacheModel::setPropertyData(const QModelIndex& idx1, if(isNew) { - this->setData(idx1, QBrush(QColor(255,100,100,170)), Qt::BackgroundColorRole); - this->setData(idx2, QBrush(QColor(255,100,100,170)), Qt::BackgroundColorRole); + this->setData(idx1, QBrush(QColor(255,100,100)), Qt::BackgroundColorRole); + this->setData(idx2, QBrush(QColor(255,100,100)), Qt::BackgroundColorRole); } }