Check input profile name for duplicates in New/Rename (#4779)
* Check input profile name for duplicates in New/Rename * DRY + separation of concerns * simplify return branching * make readonly function const
This commit is contained in:
parent
5727e1b43d
commit
186ffc235f
2 changed files with 22 additions and 0 deletions
|
@ -119,4 +119,7 @@ private:
|
|||
void NewProfile();
|
||||
void DeleteProfile();
|
||||
void RenameProfile();
|
||||
|
||||
bool IsProfileNameDuplicate(const QString& name) const;
|
||||
void WarnProposedProfileNameIsDuplicate();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue