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

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jun 24 00:00:45 EDT 2008


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

Modified Files:
	QCMakeCacheView.cxx 
Log Message:

BUG:  Don't create empty property.  Fixes bug #7193.



Index: QCMakeCacheView.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/QCMakeCacheView.cxx,v
retrieving revision 1.36
retrieving revision 1.37
diff -C 2 -d -r1.36 -r1.37
*** QCMakeCacheView.cxx	13 Jun 2008 20:57:07 -0000	1.36
--- QCMakeCacheView.cxx	24 Jun 2008 04:00:42 -0000	1.37
***************
*** 440,443 ****
--- 440,448 ----
    QCMakePropertyList props;
  
+   if(!this->rowCount())
+     {
+     return props;
+     }
+ 
    QList<QModelIndex> idxs;
    idxs.append(this->index(0,0));



More information about the Cmake-commits mailing list