mirror of
https://github.com/reactos/CMake.git
synced 2025-03-04 18:07:27 +00:00
Merge topic 'qtdialog-trim-new-varname'
8f1bce12 cmake-gui: trim spaces from user-created variable names
This commit is contained in:
commit
6c99ec5bfd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user