summaryrefslogtreecommitdiff
path: root/src/libs/ssh/sshconnection.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-04-17 14:09:47 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-04-22 10:06:40 +0200
commiteccc1198d6d49707987ab3846da084e38edaf7c4 (patch)
treec4056ac7e0dfd26bc5aff3ceaed6e9fb1ec5b559 /src/libs/ssh/sshconnection.cpp
parentc20f40e12e0b6c5c85d0edfa349ab25b5472f06c (diff)
downloadqt-creator-eccc1198d6d49707987ab3846da084e38edaf7c4.tar.gz
Use double quotes instead of single quotes as per our guidelines.
Change-Id: Ib608bb49e26781aef1914085a5d801fcdcd5eb56 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Diffstat (limited to 'src/libs/ssh/sshconnection.cpp')
-rw-r--r--src/libs/ssh/sshconnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/ssh/sshconnection.cpp b/src/libs/ssh/sshconnection.cpp
index dcd00bb2ca..78dfa596a8 100644
--- a/src/libs/ssh/sshconnection.cpp
+++ b/src/libs/ssh/sshconnection.cpp
@@ -384,14 +384,14 @@ void SshConnectionPrivate::handleServerId()
if (!versionIdpattern.exactMatch(QString::fromLatin1(m_serverId))) {
throw SshServerException(SSH_DISCONNECT_PROTOCOL_ERROR,
"Identification string is invalid.",
- tr("Server Identification string '%1' is invalid.")
+ tr("Server Identification string \"%1\" is invalid.")
.arg(QString::fromLatin1(m_serverId)));
}
const QString serverProtoVersion = versionIdpattern.cap(1);
if (serverProtoVersion != QLatin1String("2.0") && serverProtoVersion != QLatin1String("1.99")) {
throw SshServerException(SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED,
"Invalid protocol version.",
- tr("Server protocol version is '%1', but needs to be 2.0 or 1.99.")
+ tr("Server protocol version is \"%1\", but needs to be 2.0 or 1.99.")
.arg(serverProtoVersion));
}