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

This commit is contained in:
Clinton Stimpson 2008-06-24 00:00:42 -04:00
parent 2b9e0af408
commit 88a9a3254e
1 changed files with 5 additions and 0 deletions

View File

@ -439,6 +439,11 @@ QCMakePropertyList QCMakeCacheModel::properties() const
{
QCMakePropertyList props;
if(!this->rowCount())
{
return props;
}
QList<QModelIndex> idxs;
idxs.append(this->index(0,0));