add default charset when not specified

explicitly state the wordcount default value
This commit is contained in:
thez3ro committed 2018-02-07 17:35:20 +01:00
1 parent e9612ee9e6
commit e57a2e0fa9
7 files changed
+16 -12

No files matched your search

+1 -2
View File
@@ -133,8 +133,7 @@ int Add::execute(QStringList arguments)
passwordGenerator.setLength(passwordLength.toInt());
}
passwordGenerator.setCharClasses(PasswordGenerator::LowerLetters | PasswordGenerator::UpperLetters |
PasswordGenerator::Numbers);
passwordGenerator.setCharClasses(PasswordGenerator::DefaultCharset);
QString password = passwordGenerator.generatePassword();
entry->setPassword(password);
}