summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.h
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-03 23:48:59 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-03 23:48:59 (GMT)
commit8770969464008b9f1ceb04bb7ea5784cd2000a9f (patch)
treee9456eb4d045fbff8ba4a5f6774a9a6bae532ee4 /Source/QtDialog/QCMake.h
parent3135561227dc7ee9980e5badc1fae1e86e672a44 (diff)
downloadCMake-8770969464008b9f1ceb04bb7ea5784cd2000a9f.zip
CMake-8770969464008b9f1ceb04bb7ea5784cd2000a9f.tar.gz
CMake-8770969464008b9f1ceb04bb7ea5784cd2000a9f.tar.bz2
ENH: Allow working with empty build directories.
Make output window a bit smaller compared to cache view. Prompt on X'ing window as well as hitting cancel. Color new cache values red, and put them first.
Diffstat (limited to 'Source/QtDialog/QCMake.h')
-rw-r--r--Source/QtDialog/QCMake.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.h b/Source/QtDialog/QCMake.h
index b9abf18..bfd2585 100644
--- a/Source/QtDialog/QCMake.h
+++ b/Source/QtDialog/QCMake.h
@@ -40,6 +40,8 @@ struct QCMakeCacheProperty
QString Help;
PropertyType Type;
bool Advanced;
+ bool operator==(const QCMakeCacheProperty& other) const { return this->Key == other.Key; }
+ bool operator<(const QCMakeCacheProperty& other) const { return this->Key < other.Key; }
};
// make types usable with QVariant