summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-04-03 18:55:01 -0300
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2012-04-03 18:55:01 -0300
commit10e13da5825e28e0f3ac9bfd8b387b5bcf4d499d (patch)
tree66eaa385002431fcc397d1f70e0727290ea93c3f
parentb70932d4b9502dceb5b45ea522243d585a3d03f7 (diff)
BaseConnectionManager: Fix debug string.
-rw-r--r--TelepathyQt/base-connection-manager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TelepathyQt/base-connection-manager.cpp b/TelepathyQt/base-connection-manager.cpp
index 54f4c7f8..aa1a35c9 100644
--- a/TelepathyQt/base-connection-manager.cpp
+++ b/TelepathyQt/base-connection-manager.cpp
@@ -91,13 +91,13 @@ void BaseConnectionManager::Adaptee::getParameters(const QString &protocolName,
{
if (!checkValidProtocolName(protocolName)) {
context->setFinishedWithError(TP_QT_ERROR_INVALID_ARGUMENT,
- protocolName + QLatin1String("is not a valid protocol name"));
+ protocolName + QLatin1String(" is not a valid protocol name"));
return;
}
if (!mCM->hasProtocol(protocolName)) {
context->setFinishedWithError(TP_QT_ERROR_NOT_IMPLEMENTED,
- QLatin1String("unknown protocol") + protocolName);
+ QLatin1String("unknown protocol ") + protocolName);
return;
}
@@ -133,13 +133,13 @@ void BaseConnectionManager::Adaptee::requestConnection(const QString &protocolNa
{
if (!checkValidProtocolName(protocolName)) {
context->setFinishedWithError(TP_QT_ERROR_INVALID_ARGUMENT,
- protocolName + QLatin1String("is not a valid protocol name"));
+ protocolName + QLatin1String(" is not a valid protocol name"));
return;
}
if (!mCM->hasProtocol(protocolName)) {
context->setFinishedWithError(TP_QT_ERROR_NOT_IMPLEMENTED,
- QLatin1String("unknown protocol") + protocolName);
+ QLatin1String("unknown protocol ") + protocolName);
return;
}