summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2009-03-12 15:19:27 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2009-03-12 15:19:27 (GMT)
commitc54f47635c7f4eda101cc092605481efb9e5275d (patch)
tree2157d540e011660f7d3db31ffb4b7929f3fc61c2 /Source/QtDialog/QCMake.cxx
parentdd7b48c9c386ffd7fa184284403988df85a38279 (diff)
downloadCMake-c54f47635c7f4eda101cc092605481efb9e5275d.zip
CMake-c54f47635c7f4eda101cc092605481efb9e5275d.tar.gz
CMake-c54f47635c7f4eda101cc092605481efb9e5275d.tar.bz2
ENH: Add support for showing combo box for choosing from a list of strings that a cache property can have.
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r--Source/QtDialog/QCMake.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index dd1608e..f007160 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -286,6 +286,10 @@ QCMakePropertyList QCMake::properties() const
else if(i.GetType() == cmCacheManager::STRING)
{
prop.Type = QCMakeProperty::STRING;
+ if (i.PropertyExists("STRINGS"))
+ {
+ prop.Strings = QString(i.GetProperty("STRINGS")).split(";");
+ }
}
ret.append(prop);