aboutsummaryrefslogtreecommitdiff
path: root/src/DBusObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DBusObject.cpp')
-rw-r--r--src/DBusObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DBusObject.cpp b/src/DBusObject.cpp
index 49d715a..0bfd2d3 100644
--- a/src/DBusObject.cpp
+++ b/src/DBusObject.cpp
@@ -238,7 +238,7 @@ std::string DBusObject::generateIntrospectionXML(int depth) const
}
xml += prefix + "<node name='" + getPathNode().toString() + "'>\n";
- xml += prefix + " <annotation name='" + kServerOwnedName + ".DBusObject.path' value='" + getPath().toString() + "' />\n";
+ xml += prefix + " <annotation name='" + TheServer->getServiceName() + ".DBusObject.path' value='" + getPath().toString() + "' />\n";
for (std::shared_ptr<const DBusInterface> interface : interfaces)
{