ENH: Give a label for the group of properties that didn't get put into another

group.
This commit is contained in:
Clinton Stimpson 2008-06-10 20:17:23 -04:00
parent 2d37d2a48d
commit 36576a4e7a
1 changed files with 4 additions and 0 deletions

View File

@ -417,6 +417,10 @@ QVariant QCMakeCacheModel::data (const QModelIndex& idx, int role) const
{
if(idx.column() == 0 && (role == Qt::DisplayRole || role == Qt::EditRole))
{
if(l->first == QString())
{
return tr("Ungrouped Properties");
}
return l->first;
}
else if(role == QCMakeCacheModel::AdvancedRole)