diff options
author | Sergiy Dubovik <sergiy.dubovik@nokia.com> | 2010-05-03 11:26:13 +0300 |
---|---|---|
committer | Sergiy Dubovik <sergiy.dubovik@nokia.com> | 2010-05-03 11:26:13 +0300 |
commit | c5933997a97164fa3ee25fa76aee589bb94bf5d4 (patch) | |
tree | 457f12ab9eb0b4adf95e8faf0fd9e3590dda40b3 | |
parent | d9868241673334166d5010f1a1bd539b4587b63b (diff) |
Changes: Fixed Mac port. registerDefaultServer respects HAVE_DBUS macro.
RevBy: TrustMe
-rw-r--r-- | src/corelib/core/mcomponentdata.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/core/mcomponentdata.cpp b/src/corelib/core/mcomponentdata.cpp index 3deb59eb..4950e4e3 100644 --- a/src/corelib/core/mcomponentdata.cpp +++ b/src/corelib/core/mcomponentdata.cpp @@ -605,8 +605,12 @@ void MComponentDataPrivate::registerNewService(MApplicationService *newService) void MComponentDataPrivate::registerDefaultService(const QString &appIdentifier) { +#ifdef HAVE_DBUS QString serviceName = "com.nokia." + appIdentifier; registerNewService(new MApplicationService(serviceName)); +#else + Q_UNUSED(appIdentifier); +#endif } void MComponentData::reinit(int &argc, char **argv, const QString &appIdentifier, MApplicationService *newService) |