refactor autotype sequences and entry-point functions

This commit is contained in:
thez3ro 2018-01-18 23:45:09 +01:00
parent b5cabbeb43
commit a9479fd662
No known key found for this signature in database
GPG key ID: F628F9E41DD7C073
8 changed files with 99 additions and 57 deletions

View file

@ -25,6 +25,7 @@
const int Group::DefaultIconNumber = 48;
const int Group::RecycleBinIconNumber = 43;
const QString Group::RootAutoTypeSequence = "{USERNAME}{TAB}{PASSWORD}{ENTER}";
Group::CloneFlags Group::DefaultCloneFlags = static_cast<Group::CloneFlags>(
Group::CloneNewUuid | Group::CloneResetTimeInfo | Group::CloneIncludeEntries);
@ -211,7 +212,7 @@ QString Group::effectiveAutoTypeSequence() const
} while (group && sequence.isEmpty());
if (sequence.isEmpty()) {
sequence = "{USERNAME}{TAB}{PASSWORD}{ENTER}";
sequence = RootAutoTypeSequence;
}
return sequence;