From 36576a4e7a4164572e4d710aa143b1c831bb0895 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Tue, 10 Jun 2008 20:17:23 -0400 Subject: [PATCH] ENH: Give a label for the group of properties that didn't get put into another group. --- Source/QtDialog/QCMakeCacheView.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx index 8d23fa300..791e24c09 100644 --- a/Source/QtDialog/QCMakeCacheView.cxx +++ b/Source/QtDialog/QCMakeCacheView.cxx @@ -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)