[Cmake-commits] [cmake-commits] clinton committed QCMakeCacheView.cxx 1.35 1.36

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jun 13 16:57:09 EDT 2008


Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv6040

Modified Files:
	QCMakeCacheView.cxx 
Log Message:

ENH: remove red blending.  It didn't look good on some systems.



Index: QCMakeCacheView.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/QCMakeCacheView.cxx,v
retrieving revision 1.35
retrieving revision 1.36
diff -C 2 -d -r1.35 -r1.36
*** QCMakeCacheView.cxx	13 Jun 2008 19:29:07 -0000	1.35
--- QCMakeCacheView.cxx	13 Jun 2008 20:57:07 -0000	1.36
***************
*** 282,287 ****
          );
        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);
        root->appendRow(parentItems);
  
--- 282,287 ----
          );
        parentItems.append(new QStandardItem());
!       parentItems[0]->setData(QBrush(QColor(255,100,100)), Qt::BackgroundColorRole);
!       parentItems[1]->setData(QBrush(QColor(255,100,100)), Qt::BackgroundColorRole);
        root->appendRow(parentItems);
  
***************
*** 368,373 ****
    if(isNew)
    {
!     this->setData(idx1, QBrush(QColor(255,100,100,170)), Qt::BackgroundColorRole);
!     this->setData(idx2, QBrush(QColor(255,100,100,170)), Qt::BackgroundColorRole);
    }
  }
--- 368,373 ----
    if(isNew)
    {
!     this->setData(idx1, QBrush(QColor(255,100,100)), Qt::BackgroundColorRole);
!     this->setData(idx2, QBrush(QColor(255,100,100)), Qt::BackgroundColorRole);
    }
  }



More information about the Cmake-commits mailing list