QString street;
getDetails(street, number,
contact.zipCode, contact.city, contact.street);
- contact.name = addContactInput_->text();
+ ContactManager::stringToName(addContactInput_->text(), contact.name);
contact.number = numberButton_->valueText();
contact.country = country_;