mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Remove spaces from Source name
Replace space by underscore
This commit is contained in:
@@ -347,7 +347,7 @@ Source::~Source()
|
||||
void Source::setName (const std::string &name)
|
||||
{
|
||||
if (!name.empty())
|
||||
name_ = BaseToolkit::transliterate(name);
|
||||
name_ = BaseToolkit::unspace( BaseToolkit::transliterate(name) );
|
||||
|
||||
initials_[0] = std::toupper( name_.front(), std::locale("C") );
|
||||
initials_[1] = std::toupper( name_.back(), std::locale("C") );
|
||||
|
||||
Reference in New Issue
Block a user