aboutsummaryrefslogtreecommitdiff
path: root/libcontextprovider/src/propertyadaptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcontextprovider/src/propertyadaptor.cpp')
-rw-r--r--libcontextprovider/src/propertyadaptor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcontextprovider/src/propertyadaptor.cpp b/libcontextprovider/src/propertyadaptor.cpp
index a61a8e5b..bd38f0d1 100644
--- a/libcontextprovider/src/propertyadaptor.cpp
+++ b/libcontextprovider/src/propertyadaptor.cpp
@@ -150,10 +150,10 @@ void PropertyAdaptor::onServiceOwnerChanged(const QString &name, const QString &
QString PropertyAdaptor::objectPath() const
{
if (propertyPrivate->key.startsWith("/"))
- return QString(propertyPrivate->key);
+ return propertyPrivate->key;
return QString("/org/maemo/contextkit/") +
- QString(propertyPrivate->key).replace(".", "/").replace(QRegExp("[^A-Za-z0-9_/]"), "_");
+ QString(propertyPrivate->key).replace(".", "/");
}