[Cmake-commits] [cmake-commits] clinton committed QCMakeCacheView.cxx 1.30 1.31

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jun 10 20:17:25 EDT 2008


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

Modified Files:
	QCMakeCacheView.cxx 
Log Message:
ENH:  Give a label for the group of properties that didn't get put into another
      group.


Index: QCMakeCacheView.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/QCMakeCacheView.cxx,v
retrieving revision 1.30
retrieving revision 1.31
diff -C 2 -d -r1.30 -r1.31
*** QCMakeCacheView.cxx	10 Jun 2008 22:53:22 -0000	1.30
--- QCMakeCacheView.cxx	11 Jun 2008 00:17:23 -0000	1.31
***************
*** 418,421 ****
--- 418,425 ----
      if(idx.column() == 0 && (role == Qt::DisplayRole || role == Qt::EditRole))
        {
+       if(l->first == QString())
+         {
+         return tr("Ungrouped Properties");
+         }
        return l->first;
        }



More information about the Cmake-commits mailing list