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
815649f3
Commit
815649f3
authored
Nov 29, 2021
by
Tomaz Canabrava
Browse files
Use vector instead of set
parent
eb5ab6c1
Pipeline
#102650
passed with stage
in 1 minute and 56 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/SSHManager/sshmanagerpluginwidget.cpp
View file @
815649f3
...
...
@@ -430,13 +430,13 @@ void SSHManagerTreeWidget::connectRequested(const QModelIndex &idx)
return
;
}
if
(
!
Q
Set
<
QString
>
({
QStringLiteral
(
"fish"
),
QStringLiteral
(
"bash"
),
QStringLiteral
(
"dash"
),
QStringLiteral
(
"sh"
),
QStringLiteral
(
"csh"
),
QStringLiteral
(
"ksh"
),
QStringLiteral
(
"zsh"
)})
if
(
!
Q
Vector
<
QString
>
({
QStringLiteral
(
"fish"
),
QStringLiteral
(
"bash"
),
QStringLiteral
(
"dash"
),
QStringLiteral
(
"sh"
),
QStringLiteral
(
"csh"
),
QStringLiteral
(
"ksh"
),
QStringLiteral
(
"zsh"
)})
.
contains
(
processName
))
{
KMessageBox
::
messageBox
(
this
,
KMessageBox
::
DialogType
::
Sorry
,
...
...
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