diff options
author | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2012-04-03 18:55:01 -0300 |
---|---|---|
committer | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2012-04-03 18:55:01 -0300 |
commit | 10e13da5825e28e0f3ac9bfd8b387b5bcf4d499d (patch) | |
tree | 66eaa385002431fcc397d1f70e0727290ea93c3f | |
parent | b70932d4b9502dceb5b45ea522243d585a3d03f7 (diff) |
BaseConnectionManager: Fix debug string.
-rw-r--r-- | TelepathyQt/base-connection-manager.cpp | 8 |
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; } |