Commit 815649f3 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Use vector instead of set

parent eb5ab6c1
Pipeline #102650 passed with stage
in 1 minute and 56 seconds
......@@ -430,13 +430,13 @@ void SSHManagerTreeWidget::connectRequested(const QModelIndex &idx)
return;
}
if (!QSet<QString>({QStringLiteral("fish"),
QStringLiteral("bash"),
QStringLiteral("dash"),
QStringLiteral("sh"),
QStringLiteral("csh"),
QStringLiteral("ksh"),
QStringLiteral("zsh")})
if (!QVector<QString>({QStringLiteral("fish"),
QStringLiteral("bash"),
QStringLiteral("dash"),
QStringLiteral("sh"),
QStringLiteral("csh"),
QStringLiteral("ksh"),
QStringLiteral("zsh")})
.contains(processName)) {
KMessageBox::messageBox(this,
KMessageBox::DialogType::Sorry,
......
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