summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-09 17:17:29 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-09 17:58:07 +0300
commitdf0621ea1b0ae7896edf69087790b4cd750d5ce0 (patch)
tree84a7c262d01a7a2e4cc08753aebcc68ca432466f
parenta3ebacbc33eb4c026a90e1191ac8da9c38aebcac (diff)
DBusService: Fix QString args replacement in registerObject()
-rw-r--r--TelepathyQt/dbus-service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TelepathyQt/dbus-service.cpp b/TelepathyQt/dbus-service.cpp
index a22c6569..6a8f978f 100644
--- a/TelepathyQt/dbus-service.cpp
+++ b/TelepathyQt/dbus-service.cpp
@@ -167,7 +167,7 @@ bool DBusService::registerObject(const QString &busName, const QString &objectPa
if (!mPriv->dbusObject->dbusConnection().registerService(busName)) {
error->set(TP_QT_ERROR_INVALID_ARGUMENT,
- QString(QLatin1String("Name %s already in use by another process"))
+ QString(QLatin1String("Name %1 already in use by another process"))
.arg(busName));
warning() << "Unable to register service" << busName <<
"- name already registered by another process";
@@ -176,7 +176,7 @@ bool DBusService::registerObject(const QString &busName, const QString &objectPa
if (!mPriv->dbusObject->dbusConnection().registerObject(objectPath, mPriv->dbusObject)) {
error->set(TP_QT_ERROR_INVALID_ARGUMENT,
- QString(QLatin1String("Object at path %s already registered"))
+ QString(QLatin1String("Object at path %1 already registered"))
.arg(objectPath));
warning() << "Unable to register object" << objectPath <<
"- path already registered";