summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/QtDialog/QCMakeCacheView.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx
index 8d23fa3..791e24c 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)