TP_QT_CONNECTION_BUS_NAME_BASE and TP_QT_CONNECTION_OBJECT_PATH_BASE already have separator at the end
Signed-off-by: Maksim Melnikau <[email protected]> --- TelepathyQt/base-connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TelepathyQt/base-connection.cpp b/TelepathyQt/base-connection.cpp index e6bea0f..12b26c1 100644 --- a/TelepathyQt/base-connection.cpp +++ b/TelepathyQt/base-connection.cpp @@ -187,9 +187,9 @@ bool BaseConnection::registerObject(DBusError *error) QString escapedProtocolName = mPriv->protocolName; escapedProtocolName.replace(QLatin1Char('-'), QLatin1Char('_')); QString name = uniqueName(); - QString busName = QString(QLatin1String("%1.%2.%3.%4")) + QString busName = QString(QLatin1String("%1%2.%3.%4")) .arg(TP_QT_CONNECTION_BUS_NAME_BASE, mPriv->cmName, escapedProtocolName, name); - QString objectPath = QString(QLatin1String("%1/%2/%3/%4")) + QString objectPath = QString(QLatin1String("%1%2/%3/%4")) .arg(TP_QT_CONNECTION_OBJECT_PATH_BASE, mPriv->cmName, escapedProtocolName, name); DBusError _error; bool ret = registerObject(busName, objectPath, &_error); -- 1.8.1 _______________________________________________ telepathy mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/telepathy
