[Cmake-commits] CMake branch, next, updated. v3.7.2-2257-g7f6d422
Brad King
brad.king at kitware.com
Fri Jan 20 13:31:43 EST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 7f6d4227d57b9e5deb0aae0e1caee7ff86b7533b (commit)
via 8f1bce12d2f8ae2eb3771b173b28b8405b059923 (commit)
from e0cee4632ec08a8eb2f73b33b2a702b3add0fc33 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7f6d4227d57b9e5deb0aae0e1caee7ff86b7533b
commit 7f6d4227d57b9e5deb0aae0e1caee7ff86b7533b
Merge: e0cee46 8f1bce1
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Jan 20 13:31:43 2017 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Jan 20 13:31:43 2017 -0500
Merge topic 'qtdialog-trim-new-varname' into next
8f1bce12 cmake-gui: trim spaces from user-created variable names
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8f1bce12d2f8ae2eb3771b173b28b8405b059923
commit 8f1bce12d2f8ae2eb3771b173b28b8405b059923
Author: Clinton Stimpson <clinton at elemtech.com>
AuthorDate: Tue Jan 17 19:56:21 2017 -0700
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri Jan 20 13:31:09 2017 -0500
cmake-gui: trim spaces from user-created variable names
Fixes: #15955
diff --git a/Source/QtDialog/AddCacheEntry.cxx b/Source/QtDialog/AddCacheEntry.cxx
index daf4bd1..6284ac9 100644
--- a/Source/QtDialog/AddCacheEntry.cxx
+++ b/Source/QtDialog/AddCacheEntry.cxx
@@ -46,7 +46,7 @@ AddCacheEntry::AddCacheEntry(QWidget* p, const QStringList& varNames,
QString AddCacheEntry::name() const
{
- return this->Name->text();
+ return this->Name->text().trimmed();
}
QVariant AddCacheEntry::value() const
-----------------------------------------------------------------------
Summary of changes:
Source/QtDialog/AddCacheEntry.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list