Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
55d82783
Commit
55d82783
authored
Nov 30, 2021
by
Tomaz Canabrava
Browse files
Do not remove SSH Config toplevel entry
parent
b0ae6c0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/SSHManager/sshmanagermodel.cpp
View file @
55d82783
...
...
@@ -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"
));
}
...
...
Tomaz Canabrava
@tcanabrava
mentioned in commit
eb3911bd
·
Jan 06, 2022
mentioned in commit
eb3911bd
mentioned in commit eb3911bda4706aeeff3785bf64ef2622f9753b65
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment