fix for loops now have diffrent variables. dont know why it worked before

This commit is contained in:
Marco 2017-05-16 10:54:15 +02:00 committed by thez3ro
parent 6057c9f27d
commit 393017cf3b
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

@ -581,8 +581,8 @@ QList<AutoTypeAction*> AutoType::createActionFromTemplate(const QString& tmpl, c
//allows to insert usernames and passwords multiple times
if (!list.isEmpty()) {
for (int i = 1; i < num; i++) {
for (int i = 0; i < resolved.size(); i++) {
list.append(list.at(i)->clone());
for (int j = 0; j < resolved.size(); j++) {
list.append(list.at(j)->clone());
}
}
}