summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakeCacheView.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-06-13 20:57:07 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-06-13 20:57:07 (GMT)
commitb428350d1ea39ca1f1b2eb0bf5c7bda04aed27d6 (patch)
treec14a7dee7794ce07b9b2222ba00eced8cd06880f /Source/QtDialog/QCMakeCacheView.cxx
parent973b03994a5399ef29dc53ffef413d41271c44af (diff)
downloadCMake-b428350d1ea39ca1f1b2eb0bf5c7bda04aed27d6.zip
CMake-b428350d1ea39ca1f1b2eb0bf5c7bda04aed27d6.tar.gz
CMake-b428350d1ea39ca1f1b2eb0bf5c7bda04aed27d6.tar.bz2
ENH: remove red blending. It didn't look good on some systems.
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.cxx')
-rw-r--r--Source/QtDialog/QCMakeCacheView.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx
index 9a505c3..31610d7 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);
}
}