mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 23:45:09 -04:00
.arg() needs QStringLiteral
This commit is contained in:
@@ -490,7 +490,7 @@ Session* MainWindow::createSSHSession(Profile::Ptr profile, const QUrl& url)
|
||||
|
||||
QString sshCommand = QStringLiteral("ssh ");
|
||||
if (url.port() > -1) {
|
||||
sshCommand += QLatin1String("-p %1 ").arg(url.port());
|
||||
sshCommand += QStringLiteral("-p %1 ").arg(url.port());
|
||||
}
|
||||
if (!url.userName().isEmpty()) {
|
||||
sshCommand += (url.userName() + '@');
|
||||
|
||||
Reference in New Issue
Block a user