Commit 55d82783 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Do not remove SSH Config toplevel entry

parent b0ae6c0d
......@@ -174,14 +174,6 @@ void SSHManagerModel::removeIndex(const QModelIndex &idx)
void SSHManagerModel::startImportFromSshConfig()
{
for (int i = 0, end = invisibleRootItem()->rowCount(); i < end; i++) {
QStandardItem *groupItem = invisibleRootItem()->child(i);
if (groupItem->data(Qt::DisplayRole).toString() == tr("SSH Config")) {
removeIndex(indexFromItem(groupItem));
break;
}
}
importFromSshConfigFile(SshDir + QStringLiteral("config"));
}
......
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