diff options
author | Brad King <brad.king@kitware.com> | 2017-01-24 19:45:22 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2017-01-24 19:45:22 (GMT) |
commit | 6c99ec5bfdc9710355e3318cb9884638ea2ce925 (patch) | |
tree | d3f36cd6c8869d82377d9e4ab5068d79a687083a /Source | |
parent | 0e990a01f15dfcddebc24ca018d4695209226132 (diff) | |
parent | 8f1bce12d2f8ae2eb3771b173b28b8405b059923 (diff) | |
download | CMake-6c99ec5bfdc9710355e3318cb9884638ea2ce925.zip CMake-6c99ec5bfdc9710355e3318cb9884638ea2ce925.tar.gz CMake-6c99ec5bfdc9710355e3318cb9884638ea2ce925.tar.bz2 |
Merge topic 'qtdialog-trim-new-varname'
8f1bce12 cmake-gui: trim spaces from user-created variable names
Diffstat (limited to 'Source')
-rw-r--r-- | Source/QtDialog/AddCacheEntry.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |