Commit 2b4199e2 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Change loop variable to un-shadow

parent 2f1450d8
......@@ -134,7 +134,7 @@ void SSHManagerModel::save()
QStandardItem *groupItem = invisibleRootItem()->child(i);
const QString groupName = groupItem->text();
KConfigGroup baseGroup = config.group(groupName);
for (int e = 0, end = groupItem->rowCount(); e < end; e++) {
for (int e = 0, rend = groupItem->rowCount(); e < rend; e++) {
QStandardItem *sshElement = groupItem->child(e);
const auto data = sshElement->data(SSHRole).value<SSHConfigurationData>();
KConfigGroup sshGroup = baseGroup.group(data.name.trimmed());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment