diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2007-11-03 23:48:59 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2007-11-03 23:48:59 (GMT) |
commit | 8770969464008b9f1ceb04bb7ea5784cd2000a9f (patch) | |
tree | e9456eb4d045fbff8ba4a5f6774a9a6bae532ee4 /Source/QtDialog/QCMake.h | |
parent | 3135561227dc7ee9980e5badc1fae1e86e672a44 (diff) | |
download | CMake-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.h | 2 |
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 |